From: Wei Mi Date: Wed, 26 Jul 2017 01:34:46 +0000 (+0000) Subject: Add "REQUIRES: asserts" for test unswitch-equality-undef.ll. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c076aa05ec97fd4a920e1c2e551e487236a207e0;p=llvm 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 --- diff --git a/test/Transforms/LoopUnswitch/unswitch-equality-undef.ll b/test/Transforms/LoopUnswitch/unswitch-equality-undef.ll index d77de7bd571..de0ca182dd8 100644 --- a/test/Transforms/LoopUnswitch/unswitch-equality-undef.ll +++ b/test/Transforms/LoopUnswitch/unswitch-equality-undef.ll @@ -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.