Skip to content

Commit

Permalink
[NFC] update test case so checks are not order dependent when not needed
Browse files Browse the repository at this point in the history
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@315482 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
lei137 committed Oct 11, 2017
1 parent 3e47036 commit e7c6ff0
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions test/CodeGen/PowerPC/sjlj.ll
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ return: ; preds = %if.end, %if.then

; FIXME: We should be saving VRSAVE on Darwin, but we're not!

; CHECK: @main
; CHECK-LABEL: main:
; CHECK: std
; Make sure that we're not saving VRSAVE on non-Darwin:
; CHECK-NOT: mfspr
Expand All @@ -87,12 +87,12 @@ return: ; preds = %if.end, %if.then

; CHECK: .LBB1_5:

; CHECK: lfd
; CHECK: lxvd2x
; CHECK-DAG: lfd
; CHECK-DAG: lxvd2x
; CHECK: ld
; CHECK: blr

; CHECK-NOAV: @main
; CHECK-NOAV-LABEL: main:
; CHECK-NOAV-NOT: stxvd2x
; CHECK-NOAV: bcl
; CHECK-NOAV: mflr
Expand Down Expand Up @@ -131,7 +131,7 @@ return: ; preds = %if.end, %if.then
%3 = load i32, i32* %retval
ret i32 %3

; CHECK: @main2
; CHECK-LABEL: main2:

; CHECK: addis [[REG:[0-9]+]], 2, env_sigill@toc@ha
; CHECK-DAG: std 31, env_sigill@toc@l([[REG]])
Expand Down

0 comments on commit e7c6ff0

Please sign in to comment.