summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@gmail.com>2017-02-20 23:38:48 +0000
committerCraig Topper <craig.topper@gmail.com>2017-02-20 23:38:48 +0000
commita80f90e66b890a9495602b15e9740e57805b08fb (patch)
tree9dfe9b07132ebe9e404e21b68c8c398a7c46a186
parent85cd132068b8010f63feb9354fbd7ab4e2c2aff8 (diff)
downloadbcm5719-llvm-a80f90e66b890a9495602b15e9740e57805b08fb.tar.gz
bcm5719-llvm-a80f90e66b890a9495602b15e9740e57805b08fb.zip
[X86] FileCheckize one of the rotate tests.
llvm-svn: 295681
-rw-r--r--llvm/test/CodeGen/X86/rot32.ll6
1 files changed, 4 insertions, 2 deletions
diff --git a/llvm/test/CodeGen/X86/rot32.ll b/llvm/test/CodeGen/X86/rot32.ll
index 5738f70fa47..2c56f38f2a2 100644
--- a/llvm/test/CodeGen/X86/rot32.ll
+++ b/llvm/test/CodeGen/X86/rot32.ll
@@ -92,8 +92,10 @@ entry:
define i32 @xunp(i32* %p) nounwind readnone {
entry:
+; CHECK-LABEL: xunp:
+; CHECK: roll $25
; BMI2-LABEL: xunp:
-; BMI2: rorxl $7, ({{.+}}), %{{.+}}
+; BMI2: rorxl $7
%x = load i32, i32* %p
%a = lshr i32 %x, 7
%b = shl i32 %x, 25
@@ -104,7 +106,7 @@ entry:
define i32 @xbu(i32 %x, i32 %y, i32 %z) nounwind readnone {
entry:
; CHECK-LABEL: xbu:
-; CHECK: shldl
+; CHECK: shldl $25
%0 = lshr i32 %y, 7
%1 = shl i32 %x, 25
%2 = or i32 %0, %1
OpenPOWER on IntegriCloud