commit | d56dea0fa17070783b4276a1c8610715ca8d5505 | [log] [tgz] |
---|---|---|
author | Florian Hahn <flo@fhahn.com> | Sat Apr 17 13:12:15 2021 +0100 |
committer | Copybara-Service <copybara-worker@google.com> | Sat Apr 17 21:32:03 2021 -0700 |
tree | f4b620b7246a24b0018c30def53c6b03c92870b4 | |
parent | 4ad4ff622126233f0728529133371abc697e1e3b [diff] |
[SimplifyCFG] Skip dbg intrinsics when checking for branch-only BBs. Debug intrinsics are free to hoist and should be skipped when looking for terminator-only blocks. As a consequence, we have to delegate to the main hoisting loop to hoist any dbg intrinsics instead of jumping to the terminator case directly. This fixes PR49982. Reviewed By: lebedev.ri Differential Revision: https://reviews.llvm.org/D100640 GitOrigin-RevId: af523514c4b9e0bd04bffb1f6ca2922c83df4c36