brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.1 KiB · 4e42b5b Raw
38 lines · plain
1; RUN: opt -passes=bdce -S < %s | FileCheck %s2target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"3target triple = "x86_64-unknown-linux-gnu"4 5declare i32 @__gxx_personality_v0(...)6 7define fastcc void @_ZN11__sanitizerL12TestRegistryEPNS_14ThreadRegistryEb(i1 %arg) #0 personality ptr @__gxx_personality_v0 {8entry:9  br i1 %arg, label %if.else, label %entry.if.end_crit_edge10 11if.else:12  ret void13 14invoke.cont70:15  store i32 %call71, ptr undef, align 416  br label %if.else17 18; CHECK-LABEL: @_ZN11__sanitizerL12TestRegistryEPNS_14ThreadRegistryEb19; CHECK: store i32 %call7120 21lpad65.loopexit.split-lp.loopexit.split-lp:22  br label %if.else23 24lpad65.loopexit.split-lp.loopexit.split-lp.loopexit:25  %lpad.loopexit1121 = landingpad { ptr, i32 }26          cleanup27  br label %lpad65.loopexit.split-lp.loopexit.split-lp28 29entry.if.end_crit_edge:30  %call71 = invoke i32 @_ZN11__sanitizer14ThreadRegistry12CreateThreadEmbjPv()31          to label %invoke.cont70 unwind label %lpad65.loopexit.split-lp.loopexit.split-lp.loopexit32}33 34declare i32 @_ZN11__sanitizer14ThreadRegistry12CreateThreadEmbjPv()35 36attributes #0 = { uwtable }37 38