diff options
author | Duncan Sands <baldrick@free.fr> | 2010-11-18 20:05:18 +0000 |
---|---|---|
committer | Duncan Sands <baldrick@free.fr> | 2010-11-18 20:05:18 +0000 |
commit | 12f3b3b44fabdd242da46eeb16b299b8c696709e (patch) | |
tree | 2cd018703f664fa5704a9bca08806c3a19d7c991 /clang/lib/Sema/Sema.cpp | |
parent | aef146b890e8d22153c3a2fa196126adc722961a (diff) | |
download | bcm5719-llvm-12f3b3b44fabdd242da46eeb16b299b8c696709e.tar.gz bcm5719-llvm-12f3b3b44fabdd242da46eeb16b299b8c696709e.zip |
The DAGCombiner was threading select over pairs of extending loads even
if the extension types were not the same. The result was that if you
fed a select with sext and zext loads, as in the testcase, then it
would get turned into a zext (or sext) of the select, which is wrong
in the cases when it should have been an sext (resp. zext). Reported
and diagnosed by Sebastien Deldon.
llvm-svn: 119728
Diffstat (limited to 'clang/lib/Sema/Sema.cpp')
0 files changed, 0 insertions, 0 deletions