The alternative would be to add a bit to the target's InstrFlags but that seems like a waste of a bit.
Details
Details
Diff Detail
Diff Detail
Event Timeline
Comment Actions
With '<' -> '<=', seems reasonable.
Can you add a comment? I'm not sure we refer to these as "builtins" anywhere else (not that I have a better name though).
include/llvm/Target/TargetInstrInfo.h | ||
---|---|---|
65 | <= ? |
Comment Actions
Maybe talk about shared opcodes or generic opcodes to indicate they are not target-specific.
Comment Actions
I got this from the BUILTIN_OP_END. The comment at the start of the enum calls these "Invariant opcodes" but that doesn't sound good. How about isGenericOpcode()?
<= ?