Liveness needs to mark edges, not blocks as dead.
Details
Details
Diff Detail
Diff Detail
- Repository
 - rG LLVM Github Monorepo
 - Build Status
 Buildable 37740 Build 37739: arc lint + arc unit 
Paths 
  |  Differential  D67191  
[Attributor][Fix] Make sure we do not delete live code ClosedPublic Authored by jdoerfert on Sep 4 2019, 12:57 PM. 
Details Summary Liveness needs to mark edges, not blocks as dead. 
Diff Detail 
 Event TimelineThis revision is now accepted and ready to land.Sep 4 2019, 1:09 PM Closed by commit rL370975: [Attributor][Fix] Make sure we do not delete live code (authored by jdoerfert).  ·  Explain WhySep 4 2019, 1:37 PM This revision was automatically updated to reflect the committed changes. 
Revision Contents 
 
 
Diff 218775 llvm/lib/Transforms/IPO/Attributor.cpp
 llvm/test/Transforms/FunctionAttrs/liveness.ll
 llvm/test/Transforms/FunctionAttrs/noreturn_async.ll
 llvm/test/Transforms/FunctionAttrs/noreturn_sync.ll
  | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||