[llvm] AMDGPU: fix isSafeToSink expecting exactly one predecessor (PR #89224)
via llvm-commits
llvm-commits at lists.llvm.org
Thu May 9 18:31:54 PDT 2024
================
@@ -214,14 +214,13 @@ bool SIInstrInfo::isSafeToSink(MachineInstr &MI,
// does not contain SuccToSinkTo and also has divergent exit condition.
while (FromCycle && !FromCycle->contains(ToCycle)) {
// After structurize-cfg, there should be exactly one cycle exit.
----------------
ruiling wrote:
I just notice the old comment is still there, please help remove it. Thanks!
https://github.com/llvm/llvm-project/pull/89224
More information about the llvm-commits
mailing list