[llvm-dev] dumb question about tblgen
Lawrence, Peter via llvm-dev
llvm-dev at lists.llvm.org
Wed May 25 17:06:32 PDT 2016
Dumb question about llvm-tblgen for "XyzGenInstrInfo.inc"
If I have a pattern in my dot-td-file like this
[(set i32:$dst (add i32:$rs1, i32:$rs2))]
The question is where does the token "i32" come from,
I don't see any definitions for i1, i8, i16, i32, ... in
while I do see definitions for tokens like "set", "add", ...
presumably these tokens are related to the enum in
but how does tblgen know about them,
To put the question into context, if I add an item to the enum in "MachineValueType.h"
What do I do about
"error: Variable not defined:"
Coming from tblgen when I try to use it in my dot-td-file,
I've already tried re-building tblgen, but that didn't help.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-dev