[InstCombine] Don't RAUW tokens with undef
[oota-llvm.git] / test / Transforms / InstCombine / token.ll
1 ; RUN: opt < %s -instcombine -S | FileCheck %s
2 target datalayout = "e-m:w-i64:64-f80:128-n8:16:32:64-S128"
3 target triple = "x86_64-pc-windows-msvc18.0.0"
4
5 declare i32 @__CxxFrameHandler3(...)
6
7 define i8* @f() personality i32 (...)* @__CxxFrameHandler3 {
8 bb:
9   unreachable
10
11 unreachable:
12   %cl = cleanuppad []
13   cleanupret %cl unwind to caller
14 }
15
16 ; CHECK: unreachable:
17 ; CHECK:   %cl = cleanuppad []
18 ; CHECK:   cleanupret %cl unwind to caller
19
20
21 declare void @g(i8*)