summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/X86/sext-i1.ll
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/CodeGen/X86/sext-i1.ll')
-rw-r--r--llvm/test/CodeGen/X86/sext-i1.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/CodeGen/X86/sext-i1.ll b/llvm/test/CodeGen/X86/sext-i1.ll
index 578d2c9081c..b1b0676ae7f 100644
--- a/llvm/test/CodeGen/X86/sext-i1.ll
+++ b/llvm/test/CodeGen/X86/sext-i1.ll
@@ -164,8 +164,8 @@ define i32 @select_0_or_1s_signext(i1 signext %cond) {
;
; X64-LABEL: select_0_or_1s_signext:
; X64: # %bb.0:
-; X64-NEXT: notl %edi
; X64-NEXT: movl %edi, %eax
+; X64-NEXT: notl %eax
; X64-NEXT: retq
%not = xor i1 %cond, 1
%sext = sext i1 %not to i32
OpenPOWER on IntegriCloud