[PATCH] D57825: IR: Add immarg attribute
Craig Topper via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Feb 6 10:24:22 PST 2019
craig.topper added inline comments.
================
Comment at: docs/LangRef.rst:1180
+``immreg``
+ This indicates the parameter is required to be an immediate
----------------
Should this say immarg?
================
Comment at: lib/IR/Verifier.cpp:2842
+ Assert(Callee && Callee->hasParamAttribute(i, Attribute::ImmArg),
+ "immreg may not apply only to call sites",
+ Call.getArgOperand(i), Call);
----------------
immarg?
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D57825/new/
https://reviews.llvm.org/D57825
More information about the llvm-commits
mailing list