summaryrefslogtreecommitdiffstats
path: root/llvm/test/Transforms
diff options
context:
space:
mode:
authorReid Kleckner <rnk@google.com>2019-05-08 18:39:03 +0000
committerReid Kleckner <rnk@google.com>2019-05-08 18:39:03 +0000
commit1558731607cb2aef361d02be9973d4e374475254 (patch)
tree670e47e4537aec818a334f53fa0f7c229ee2a28c /llvm/test/Transforms
parent157427245a1993870870629dd36eb978add90570 (diff)
downloadbcm5719-llvm-1558731607cb2aef361d02be9973d4e374475254.tar.gz
bcm5719-llvm-1558731607cb2aef361d02be9973d4e374475254.zip
Fix new reassociate-catchswitch.ll test
llvm-svn: 360279
Diffstat (limited to 'llvm/test/Transforms')
-rw-r--r--llvm/test/Transforms/Reassociate/reassociate-catchswitch.ll5
1 files changed, 5 insertions, 0 deletions
diff --git a/llvm/test/Transforms/Reassociate/reassociate-catchswitch.ll b/llvm/test/Transforms/Reassociate/reassociate-catchswitch.ll
index 968e8456ce9..4503d70868b 100644
--- a/llvm/test/Transforms/Reassociate/reassociate-catchswitch.ll
+++ b/llvm/test/Transforms/Reassociate/reassociate-catchswitch.ll
@@ -1,3 +1,8 @@
+; Catchswitch is interesting because reassociate previously tried to insert
+; into the catchswitch block, which is impossible.
+;
+; RUN: opt -reassociate -disable-output < %s
+;
; ModuleID = 'bugpoint-reduced-simplified.bc'
source_filename = "catchswitch.cpp"
target datalayout = "e-m:w-i64:64-f80:128-n8:16:32:64-S128"
OpenPOWER on IntegriCloud