[FastISel][X86] Fold XALU condition into branch and compare.
authorJuergen Ributzka <juergen@apple.com>
Tue, 24 Jun 2014 23:51:21 +0000 (23:51 +0000)
committerJuergen Ributzka <juergen@apple.com>
Tue, 24 Jun 2014 23:51:21 +0000 (23:51 +0000)
commit35a6a814073e9ce8c0722d23788eae2eb86832d9
treeb96a3133c2116644c9536592dea803db18477924
parent11580ee62d39a0ae333fc86a1253d8e1d998cafe
[FastISel][X86] Fold XALU condition into branch and compare.

Optimize the codegen of select and branch instructions to directly use the
EFLAGS from the {s|u}{add|sub|mul}.with.overflow intrinsics.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@211645 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86FastISel.cpp
test/CodeGen/X86/xaluo.ll