From b0b0275b401554b2f973d78c41fc1fd6735f31d9 Mon Sep 17 00:00:00 2001 From: Reid Kleckner Date: Wed, 8 May 2019 18:39:03 +0000 Subject: [PATCH] Fix new reassociate-catchswitch.ll test git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@360279 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/Transforms/Reassociate/reassociate-catchswitch.ll | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/test/Transforms/Reassociate/reassociate-catchswitch.ll b/test/Transforms/Reassociate/reassociate-catchswitch.ll index 968e8456ce9..4503d70868b 100644 --- a/test/Transforms/Reassociate/reassociate-catchswitch.ll +++ b/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" -- 2.50.1