From c54b6c881b82faed035c75d9d339a3c2d42d7eba 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. llvm-svn: 309073 --- llvm/test/Transforms/LoopUnswitch/unswitch-equality-undef.ll | 1 + 1 file changed, 1 insertion(+) diff --git a/llvm/test/Transforms/LoopUnswitch/unswitch-equality-undef.ll b/llvm/test/Transforms/LoopUnswitch/unswitch-equality-undef.ll index d77de7b..de0ca18 100644 --- a/llvm/test/Transforms/LoopUnswitch/unswitch-equality-undef.ll +++ b/llvm/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.7.4