[all-commits] [llvm/llvm-project] 2a2b42: [Sink] Fix bugs of sinking unreachable BB from phi...
XChy via All-commits
all-commits at lists.llvm.org
Mon Oct 9 07:44:20 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 2a2b426f13dfd33c7495da1c54ab9d1a8e625d87
https://github.com/llvm/llvm-project/commit/2a2b426f13dfd33c7495da1c54ab9d1a8e625d87
Author: XChy <xxs_chy at outlook.com>
Date: 2023-10-09 (Mon, 09 Oct 2023)
Changed paths:
M llvm/lib/Transforms/Scalar/Sink.cpp
M llvm/test/Transforms/Sink/dead-user.ll
Log Message:
-----------
[Sink] Fix bugs of sinking unreachable BB from phi (#68576)
Resolve #68529.
Sink pass doesn't consider whether Basicblock from phi is unreachable.
This patch moves unreachability check after checking phi.
More information about the All-commits
mailing list