[FastISel][X86] Use INC/DEC when possible for {sadd|ssub}.with.overflow intrinsics.
authorJuergen Ributzka <juergen@apple.com>
Fri, 8 Aug 2014 17:21:37 +0000 (17:21 +0000)
committerJuergen Ributzka <juergen@apple.com>
Fri, 8 Aug 2014 17:21:37 +0000 (17:21 +0000)
commitcbda4b32c68981f3da796e215bb90a27a31503cb
tree41d78d2e1d9a77875a799a842609a19df1731b6a
parent6d56b950a90eae21e8363eb771733bf6f0cbd794
[FastISel][X86] Use INC/DEC when possible for {sadd|ssub}.with.overflow intrinsics.

This is a small peephole optimization to emit INC/DEC when possible.

Fixes <rdar://problem/17952308>.

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