summaryrefslogtreecommitdiff
path: root/test/CodeGen/X86/2010-11-18-SelectOfExtload.ll
Commit message (Collapse)AuthorAge
* Force cmov on test so block placement doesn't shuffle the code around.Benjamin Kramer2012-04-17
| | | | | | This made the test fail with -mcpu=generic (when building on a non-x86 host). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@154926 91177308-0d34-0410-b5e6-96231b3b80d8
* The DAGCombiner was threading select over pairs of extending loads evenDuncan Sands2010-11-18
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@119728 91177308-0d34-0410-b5e6-96231b3b80d8