Reapply r162160 with a fix: Optimize Arith->Trunc->SETCC sequence to allow better...
authorNadav Rotem <nrotem@apple.com>
Sat, 18 Aug 2012 17:53:03 +0000 (17:53 +0000)
committerNadav Rotem <nrotem@apple.com>
Sat, 18 Aug 2012 17:53:03 +0000 (17:53 +0000)
commitb9d6b8449d245ee1607f6f197b29befbf8c41a1e
treef48666ead620a694f8e02d2e778c9c33faf646fa
parent6d655a50f93520e73c4154e3642227d665bd6966
Reapply r162160 with a fix: Optimize Arith->Trunc->SETCC sequence to allow better compare/branch code.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@162172 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86ISelLowering.cpp
test/CodeGen/X86/2012-08-16-setcc.ll [new file with mode: 0644]
test/CodeGen/X86/fold-load.ll