improve the setcc -> setcc_carry optimization to happen more
authorChris Lattner <sabre@nondot.org>
Sun, 19 Dec 2010 22:08:31 +0000 (22:08 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 19 Dec 2010 22:08:31 +0000 (22:08 +0000)
commitc19d1c3ba2b216f0f91d71cf6fc2e983fc995854
treebac5a92aeaf2d30963e52aa20486d19a0fef1b06
parent22d67cf6ac84c06867681a2fe72f78d5d2b9444d
improve the setcc -> setcc_carry optimization to happen more
consistently by moving it out of lowering into dag combine.

Add some missing patterns for matching away extended versions of setcc_c.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@122201 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86ISelLowering.cpp
lib/Target/X86/X86ISelLowering.h
lib/Target/X86/X86InstrCompiler.td
test/CodeGen/X86/add-of-carry.ll
test/CodeGen/X86/avx-intrinsics-x86.ll
test/CodeGen/X86/sse41.ll