summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/X86/ctpop-combine.ll
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/CodeGen/X86/ctpop-combine.ll')
-rw-r--r--llvm/test/CodeGen/X86/ctpop-combine.ll4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/test/CodeGen/X86/ctpop-combine.ll b/llvm/test/CodeGen/X86/ctpop-combine.ll
index cdef5771f2c..e60935cc873 100644
--- a/llvm/test/CodeGen/X86/ctpop-combine.ll
+++ b/llvm/test/CodeGen/X86/ctpop-combine.ll
@@ -116,7 +116,7 @@ define i32 @ctpop_eq_one(i64 %x) nounwind readnone {
; POPCOUNT: # %bb.0:
; POPCOUNT-NEXT: popcntq %rdi, %rcx
; POPCOUNT-NEXT: xorl %eax, %eax
-; POPCOUNT-NEXT: cmpq $1, %rcx
+; POPCOUNT-NEXT: cmpl $1, %ecx
; POPCOUNT-NEXT: sete %al
; POPCOUNT-NEXT: retq
;
@@ -141,7 +141,7 @@ define i32 @ctpop_ne_one(i64 %x) nounwind readnone {
; POPCOUNT: # %bb.0:
; POPCOUNT-NEXT: popcntq %rdi, %rcx
; POPCOUNT-NEXT: xorl %eax, %eax
-; POPCOUNT-NEXT: cmpq $1, %rcx
+; POPCOUNT-NEXT: cmpl $1, %ecx
; POPCOUNT-NEXT: setne %al
; POPCOUNT-NEXT: retq
;
OpenPOWER on IntegriCloud