Skip to content

Commit

Permalink
Corrected tests for Loop Versioning LICM, by adding “REQUIRES: asserts”.
Browse files Browse the repository at this point in the history
Earlier they were failing under no-assert build.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@259989 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
nema-ashutosh committed Feb 6, 2016
1 parent 393c3c6 commit 5e04a0b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions test/Transforms/LoopVersioningLICM/loopversioningLICM1.ll
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
; RUN: opt < %s -O1 -S -loop-versioning-licm -licm -debug-only=loop-versioning-licm 2>&1 | FileCheck %s
; REQUIRES: asserts
;
; Test to confirm loop is a candidate for LoopVersioningLICM.
; It also confirms invariant moved out of loop.
Expand Down
1 change: 1 addition & 0 deletions test/Transforms/LoopVersioningLICM/loopversioningLICM2.ll
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
; RUN: opt < %s -O1 -S -loop-versioning-licm -licm -debug-only=loop-versioning-licm -disable-loop-unrolling 2>&1 | FileCheck %s
; REQUIRES: asserts
;
; Test to confirm loop is a good candidate for LoopVersioningLICM
; It also confirms invariant moved out of loop.
Expand Down
1 change: 1 addition & 0 deletions test/Transforms/LoopVersioningLICM/loopversioningLICM3.ll
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
; RUN: opt < %s -O1 -S -loop-versioning-licm -debug-only=loop-versioning-licm 2>&1 | FileCheck %s
; REQUIRES: asserts
;
; Test to confirm loop is not a candidate for LoopVersioningLICM.
;
Expand Down

0 comments on commit 5e04a0b

Please sign in to comment.