summaryrefslogtreecommitdiffstats
path: root/llvm/test
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test')
-rw-r--r--llvm/test/CodeGen/X86/bmi.ll4
-rw-r--r--llvm/test/CodeGen/X86/clz.ll2
-rw-r--r--llvm/test/CodeGen/X86/lzcnt.ll4
3 files changed, 5 insertions, 5 deletions
diff --git a/llvm/test/CodeGen/X86/bmi.ll b/llvm/test/CodeGen/X86/bmi.ll
index e79c92f1e2c..43c47c0fa8a 100644
--- a/llvm/test/CodeGen/X86/bmi.ll
+++ b/llvm/test/CodeGen/X86/bmi.ll
@@ -9,7 +9,7 @@ define i8 @t1(i8 %x) nounwind {
%tmp = tail call i8 @llvm.cttz.i8( i8 %x, i1 false )
ret i8 %tmp
; CHECK: t1:
-; CHECK: tzcntw
+; CHECK: tzcntl
}
define i16 @t2(i16 %x) nounwind {
@@ -37,7 +37,7 @@ define i8 @t5(i8 %x) nounwind {
%tmp = tail call i8 @llvm.cttz.i8( i8 %x, i1 true )
ret i8 %tmp
; CHECK: t5:
-; CHECK: tzcntw
+; CHECK: tzcntl
}
define i16 @t6(i16 %x) nounwind {
diff --git a/llvm/test/CodeGen/X86/clz.ll b/llvm/test/CodeGen/X86/clz.ll
index 6f4d305385b..763079f3446 100644
--- a/llvm/test/CodeGen/X86/clz.ll
+++ b/llvm/test/CodeGen/X86/clz.ll
@@ -13,7 +13,7 @@ define i8 @cttz_i8(i8 %x) {
%tmp = call i8 @llvm.cttz.i8( i8 %x, i1 true )
ret i8 %tmp
; CHECK: cttz_i8:
-; CHECK: bsfw
+; CHECK: bsfl
; CHECK-NOT: cmov
; CHECK: ret
}
diff --git a/llvm/test/CodeGen/X86/lzcnt.ll b/llvm/test/CodeGen/X86/lzcnt.ll
index eb010d7f5a8..2faa24a9a54 100644
--- a/llvm/test/CodeGen/X86/lzcnt.ll
+++ b/llvm/test/CodeGen/X86/lzcnt.ll
@@ -9,7 +9,7 @@ define i8 @t1(i8 %x) nounwind {
%tmp = tail call i8 @llvm.ctlz.i8( i8 %x, i1 false )
ret i8 %tmp
; CHECK: t1:
-; CHECK: lzcntw
+; CHECK: lzcntl
}
define i16 @t2(i16 %x) nounwind {
@@ -37,7 +37,7 @@ define i8 @t5(i8 %x) nounwind {
%tmp = tail call i8 @llvm.ctlz.i8( i8 %x, i1 true )
ret i8 %tmp
; CHECK: t5:
-; CHECK: lzcntw
+; CHECK: lzcntl
}
define i16 @t6(i16 %x) nounwind {
OpenPOWER on IntegriCloud