Fix a (u)comiss intrinsic lowering bug. It was using anyext which can return junk...
authorEvan Cheng <evan.cheng@apple.com>
Sun, 17 Aug 2008 19:22:34 +0000 (19:22 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Sun, 17 Aug 2008 19:22:34 +0000 (19:22 +0000)
commit0ac3fc2a61f77af74ccde3dcd437d0f72b736b8f
tree66b37f69e4ff96fd29759517aab3a3874c1caa43
parent8715367182244e784b9f5688baf1ed607768e687
Fix a (u)comiss intrinsic lowering bug. It was using anyext which can return junk in higher bits. Patch by Nate Begeman.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@54903 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86ISelDAGToDAG.cpp
lib/Target/X86/X86ISelLowering.cpp
test/CodeGen/X86/2008-08-17-UComiCodeGenBug.ll [new file with mode: 0644]
test/Transforms/LoopStrengthReduce/2008-08-14-ShadowIV.ll