diff options
author | Chris Lattner <sabre@nondot.org> | 2010-12-19 22:08:31 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-12-19 22:08:31 +0000 |
commit | c19d1c3ba2b216f0f91d71cf6fc2e983fc995854 (patch) | |
tree | bac5a92aeaf2d30963e52aa20486d19a0fef1b06 /test/CodeGen/X86/sse41.ll | |
parent | 22d67cf6ac84c06867681a2fe72f78d5d2b9444d (diff) |
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
Diffstat (limited to 'test/CodeGen/X86/sse41.ll')
-rw-r--r-- | test/CodeGen/X86/sse41.ll | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/CodeGen/X86/sse41.ll b/test/CodeGen/X86/sse41.ll index 3a14fa2630..2ac4cb435a 100644 --- a/test/CodeGen/X86/sse41.ll +++ b/test/CodeGen/X86/sse41.ll @@ -200,11 +200,11 @@ define i32 @ptestz_2(<4 x float> %t1, <4 x float> %t2) nounwind { ret i32 %tmp1 ; X32: _ptestz_2: ; X32: ptest %xmm1, %xmm0 -; X32: setb %al +; X32: sbbl %eax ; X64: _ptestz_2: ; X64: ptest %xmm1, %xmm0 -; X64: setb %al +; X64: sbbl %eax } define i32 @ptestz_3(<4 x float> %t1, <4 x float> %t2) nounwind { |