[llvm] [Sink] Allow sinking of loads to distant blocks (PR #135986)

via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 17 12:51:23 PDT 2025


================
@@ -60,10 +75,37 @@ static bool isSafeToMove(Instruction *Inst, AliasAnalysis &AA,
   return true;
 }
 
+typedef SmallPtrSet<BasicBlock *, 8> BlocksSet;
----------------
LU-JOHN wrote:

Done.

https://github.com/llvm/llvm-project/pull/135986


More information about the llvm-commits mailing list