[llvm] [GVNSink] Don't sink pseudo probes (PR #224669)

Timur Baidusenov via llvm-commits llvm-commits at lists.llvm.org
Sun Sep 20 13:14:51 PDT 2026


================
@@ -535,8 +536,12 @@ class GVNSink {
 
   bool shouldAvoidSinkingInstruction(Instruction *I) {
     // These instructions may change or break semantics if moved.
+    // A pseudo probe marks the block it is in, so sinking it would attribute
----------------
bai-tim wrote:

Done

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


More information about the llvm-commits mailing list