From: Reid Kleckner Date: Wed, 8 May 2019 18:39:03 +0000 (+0000) Subject: Fix new reassociate-catchswitch.ll test X-Git-Tag: android-x86-9.0-r1~3672 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=b0b0275b401554b2f973d78c41fc1fd6735f31d9;p=android-x86%2Fexternal-llvm.git Fix new reassociate-catchswitch.ll test git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@360279 91177308-0d34-0410-b5e6-96231b3b80d8 --- 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"