[llvm] r295681 - [X86] FileCheckize one of the rotate tests.

Craig Topper via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 20 15:38:48 PST 2017


Author: ctopper
Date: Mon Feb 20 17:38:48 2017
New Revision: 295681

URL: http://llvm.org/viewvc/llvm-project?rev=295681&view=rev
Log:
[X86] FileCheckize one of the rotate tests.

Modified:
    llvm/trunk/test/CodeGen/X86/rot32.ll

Modified: llvm/trunk/test/CodeGen/X86/rot32.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/rot32.ll?rev=295681&r1=295680&r2=295681&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/X86/rot32.ll (original)
+++ llvm/trunk/test/CodeGen/X86/rot32.ll Mon Feb 20 17:38:48 2017
@@ -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




More information about the llvm-commits mailing list