summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/CodeGen')
-rw-r--r--llvm/test/CodeGen/X86/inline-asm-flag-output.ll4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/test/CodeGen/X86/inline-asm-flag-output.ll b/llvm/test/CodeGen/X86/inline-asm-flag-output.ll
index 67aa3b828f9..1912f24b7fe 100644
--- a/llvm/test/CodeGen/X86/inline-asm-flag-output.ll
+++ b/llvm/test/CodeGen/X86/inline-asm-flag-output.ll
@@ -219,7 +219,7 @@ define i32 @test_ccz(i64 %nr, i64* %addr) {
; X32-NEXT: #APP
; X32-NEXT: cmp %ecx,(%esi)
; X32-NEXT: #NO_APP
-; X32-NEXT: sete %al
+; X32-NEXT: setne %al
; X32-NEXT: popl %esi
; X32-NEXT: .cfi_def_cfa_offset 4
; X32-NEXT: retl
@@ -230,7 +230,7 @@ define i32 @test_ccz(i64 %nr, i64* %addr) {
; X64-NEXT: #APP
; X64-NEXT: cmp %rdi,(%rsi)
; X64-NEXT: #NO_APP
-; X64-NEXT: sete %al
+; X64-NEXT: setne %al
; X64-NEXT: retq
entry:
%cc = tail call i32 asm "cmp $2,$1", "={@ccz},=*m,r,~{cc},~{dirflag},~{fpsr},~{flags}"(i64* %addr, i64 %nr) nounwind
OpenPOWER on IntegriCloud