commit | b3d5e2f181269656c1b2dbc09eab1f449d5074aa | [log] [tgz] |
---|---|---|
author | Douglas Gregor <dgregor@apple.com> | Thu Jan 27 23:22:05 2011 +0000 |
committer | Douglas Gregor <dgregor@apple.com> | Thu Jan 27 23:22:05 2011 +0000 |
tree | bb5c7ce777b9c47957038011643627ac60d0f2a3 | |
parent | 1e8011e2fcddc4a638d210ec2dcd21adcf7b1763 [diff] |
When producing IR for a lvalue-to-rvalue cast *as an lvalue*, only non-class prvalues actually require the realization of a temporary. For everything else, we already have an lvalue (or class prvalue) in the subexpression. Note: we're missing some move elision in this case. I'll tackle that next. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@124453 91177308-0d34-0410-b5e6-96231b3b80d8