OSDN Git Service

[X86] FileCheckize one of the rotate tests.
authorCraig Topper <craig.topper@gmail.com>
Mon, 20 Feb 2017 23:38:48 +0000 (23:38 +0000)
committerCraig Topper <craig.topper@gmail.com>
Mon, 20 Feb 2017 23:38:48 +0000 (23:38 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@295681 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/X86/rot32.ll

index 5738f70..2c56f38 100644 (file)
@@ -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