Skip to content

Commit

Permalink
[X86] FileCheckize one of the rotate tests.
Browse files Browse the repository at this point in the history
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@295681 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
topperc committed Feb 20, 2017
1 parent 98b4a5b commit 575ba99
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions test/CodeGen/X86/rot32.ll
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 575ba99

Please sign in to comment.