Add "REQUIRES: asserts" for test unswitch-equality-undef.ll.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@309073 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Wei Mi 2017-07-26 01:34:46 +00:00
parent 69b28c8782
commit c076aa05ec

View File

@ -1,3 +1,4 @@
; REQUIRES: asserts
; RUN: opt < %s -instcombine -licm -loop-unswitch -loop-unswitch-threshold=1000 -disable-output -stats 2>&1| FileCheck %s
; Check no loop unswitch is done because unswitching of equality expr with
; undef is unsafe before the freeze patch is committed.