order.ll 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. ; RUN: opt -bdce -S < %s | FileCheck %s
  2. target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
  3. target triple = "x86_64-unknown-linux-gnu"
  4. declare i32 @__gxx_personality_v0(...)
  5. define fastcc void @_ZN11__sanitizerL12TestRegistryEPNS_14ThreadRegistryEb() #0 personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*) {
  6. entry:
  7. br i1 undef, label %if.else, label %entry.if.end_crit_edge
  8. if.else:
  9. ret void
  10. invoke.cont70:
  11. store i32 %call71, i32* undef, align 4
  12. br label %if.else
  13. ; CHECK-LABEL: @_ZN11__sanitizerL12TestRegistryEPNS_14ThreadRegistryEb
  14. ; CHECK: store i32 %call71
  15. lpad65.loopexit.split-lp.loopexit.split-lp:
  16. br label %if.else
  17. lpad65.loopexit.split-lp.loopexit.split-lp.loopexit:
  18. %lpad.loopexit1121 = landingpad { i8*, i32 }
  19. cleanup
  20. br label %lpad65.loopexit.split-lp.loopexit.split-lp
  21. entry.if.end_crit_edge:
  22. %call71 = invoke i32 @_ZN11__sanitizer14ThreadRegistry12CreateThreadEmbjPv()
  23. to label %invoke.cont70 unwind label %lpad65.loopexit.split-lp.loopexit.split-lp.loopexit
  24. }
  25. declare i32 @_ZN11__sanitizer14ThreadRegistry12CreateThreadEmbjPv()
  26. attributes #0 = { uwtable }