[llvm] LV: Expand llvm.histogram intrinsic to support umax, umin, and uadd.sat operations (PR #127399)
Florian Hahn via llvm-commits
llvm-commits at lists.llvm.org
Sun Aug 2 22:44:29 PDT 2026
================
@@ -248,9 +248,13 @@ struct HistogramInfo {
LoadInst *Load;
Instruction *Update;
StoreInst *Store;
+ /// The opcode (for BinaryOperator) or intrinsic ID (for IntrinsicInst) of
+ /// the update operation.
+ unsigned UpdateOpcode;
----------------
fhahn wrote:
Just to note that this may cause clashes in the future if we support an intrinsic with the same numeric value as a binary operator (intrinsic ID outside range of binary opcode)
https://github.com/llvm/llvm-project/pull/127399
More information about the llvm-commits
mailing list