From c076aa05ec97fd4a920e1c2e551e487236a207e0 Mon Sep 17 00:00:00 2001 From: Wei Mi Date: Wed, 26 Jul 2017 01:34:46 +0000 Subject: [PATCH] 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 --- test/Transforms/LoopUnswitch/unswitch-equality-undef.ll | 1 + 1 file changed, 1 insertion(+) 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. -- 2.50.1