[FastISel][X86] Fix INC/DEC optimization (r215230)
authorJuergen Ributzka <juergen@apple.com>
Fri, 8 Aug 2014 18:47:04 +0000 (18:47 +0000)
committerJuergen Ributzka <juergen@apple.com>
Fri, 8 Aug 2014 18:47:04 +0000 (18:47 +0000)
commit0980ef248e4a20846563da36bfcaa0c58b0cf609
tree0a733915d9b49ad850a1a5c30c75067f637ab098
parent1968324efa6e47f5afae17a614625462faf5f125
[FastISel][X86] Fix INC/DEC optimization (r215230)

I accidentally also used INC/DEC for unsigned arithmetic which doesn't work,
because INC/DEC don't set the required flag which is used for the overflow
check.

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