[all-commits] [llvm/llvm-project] 5612c2: [IR] Mark llvm.pseudoprobe arguments as immarg (#2...
Timur Baidusenov via All-commits
all-commits at lists.llvm.org
Mon Sep 21 00:16:24 PDT 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 5612c2710b855cccaa277890a281fdd43f3ee92b
https://github.com/llvm/llvm-project/commit/5612c2710b855cccaa277890a281fdd43f3ee92b
Author: Timur Baidusenov <timurbaidusenov at gmail.com>
Date: 2026-09-21 (Mon, 21 Sep 2026)
Changed paths:
M llvm/include/llvm/IR/Intrinsics.td
A llvm/test/Transforms/GVNSink/pseudo-probe.ll
M llvm/test/Transforms/SampleProfile/pseudo-probe-emit-macho.ll
M llvm/test/Transforms/SampleProfile/pseudo-probe-emit.ll
Log Message:
-----------
[IR] Mark llvm.pseudoprobe arguments as immarg (#224669)
Per LangRef, llvm.pseudoprobe requires constant integer arguments.
Enforce this by marking them as immarg.
In particular, this prevents invalid sinking of llvm.pseudprobe calls in
GVNSink, which would introduce a phi node for a pseudoprobe argument.
Fixes #166306.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list