diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2015-04-09 16:09:29 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2015-04-09 16:09:29 +0000 |
commit | b2b81439a39136ea5eda1a80f784efbbd61cc384 (patch) | |
tree | e3d009f15ecb894cfa4d52524122d98d83c682ba /llvm/lib/Support/Unix/Program.inc | |
parent | 504a5dccc4982e454d8fd8fdd35077eba3af93a9 (diff) | |
download | bcm5719-llvm-b2b81439a39136ea5eda1a80f784efbbd61cc384.tar.gz bcm5719-llvm-b2b81439a39136ea5eda1a80f784efbbd61cc384.zip |
[CodeGen] When promoting a reference temporary to a global use the inner type to fold it.
The MaterializeTemporaryExpr can have a different type than the inner
expression, miscompiling the constant. PR23165.
llvm-svn: 234499
Diffstat (limited to 'llvm/lib/Support/Unix/Program.inc')
0 files changed, 0 insertions, 0 deletions