Skip to content
This repository was archived by the owner on Mar 28, 2020. It is now read-only.

Commit 575ba99

Browse files
committed
[X86] FileCheckize one of the rotate tests.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@295681 91177308-0d34-0410-b5e6-96231b3b80d8
1 parent 98b4a5b commit 575ba99

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

test/CodeGen/X86/rot32.ll

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,8 +92,10 @@ entry:
9292

9393
define i32 @xunp(i32* %p) nounwind readnone {
9494
entry:
95+
; CHECK-LABEL: xunp:
96+
; CHECK: roll $25
9597
; BMI2-LABEL: xunp:
96-
; BMI2: rorxl $7, ({{.+}}), %{{.+}}
98+
; BMI2: rorxl $7
9799
%x = load i32, i32* %p
98100
%a = lshr i32 %x, 7
99101
%b = shl i32 %x, 25
@@ -104,7 +106,7 @@ entry:
104106
define i32 @xbu(i32 %x, i32 %y, i32 %z) nounwind readnone {
105107
entry:
106108
; CHECK-LABEL: xbu:
107-
; CHECK: shldl
109+
; CHECK: shldl $25
108110
%0 = lshr i32 %y, 7
109111
%1 = shl i32 %x, 25
110112
%2 = or i32 %0, %1

0 commit comments

Comments
 (0)