[llvm] InstCombine: sink loads with invariant.load metadata (PR #112692)
    Nikita Popov via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Thu Oct 17 05:31:30 PDT 2024
    
    
  
================
@@ -272,3 +272,118 @@ abort:
   call void @abort()
   unreachable
 }
+
+; Loads marked invariant can be sunk across critical edges.
----------------
nikic wrote:
What do critical edges have to do with this? It's about sinking past potential memory writes.
https://github.com/llvm/llvm-project/pull/112692
    
    
More information about the llvm-commits
mailing list