[llvm] [IR] Mark llvm.pseudoprobe arguments as immarg (PR #224669)
chandan singh via llvm-commits
llvm-commits at lists.llvm.org
Sun Sep 20 23:07:33 PDT 2026
chandankds wrote:
> llvm.pseudoprobe marks the block it is in, so sinking the probes of two sibling blocks into their common successor misattributes samples and, when the indices differ, merges them into a phi node that extractProbe() does not expect. Report the probe from shouldAvoidSinkingInstruction(), as EarlyCSE and SimplifyCFG skip pseudo probes for the same reason.
>
> Fixes #166306.
It still describes the GVNSink skip, would request you to rewrite the description.
https://github.com/llvm/llvm-project/pull/224669
More information about the llvm-commits
mailing list