[llvm-dev] type-inference in tblgen for instrinfo
Hal Finkel via llvm-dev
llvm-dev at lists.llvm.org
Thu Jun 9 15:41:54 PDT 2016
----- Original Message -----
> From: "Peter via llvm-dev Lawrence" <llvm-dev at lists.llvm.org>
> To: llvm-dev at lists.llvm.org
> Sent: Thursday, June 9, 2016 5:39:42 PM
> Subject: [llvm-dev] type-inference in tblgen for instrinfo
> If there is a design document describing the codegen backend to
> tblgen, and the type-inference system it uses, I would appreciate a
> pointer to it.
> all I can find online, like “TableGen BackEnds” and “Writing an LLVM
> Backend”, don’t go into these details, but I seem to need a deeper
> For example when I add “i32:” to an internal node of pattern tree,
> for example “i32:shl” in
> [(set i32:$dst (i32:shl i32:rs1, i32:rs2))]
> Then I get the error “expected variable name in dag operator”, and a
> source cursor pointing to the “shl”
> I am able to jump to all kinds of conclusions about the nature of
> this “error”, but don’t have any hard facts to go by.
Why are you trying to add a type there?
> LLVM Developers mailing list
> llvm-dev at lists.llvm.org
Assistant Computational Scientist
Leadership Computing Facility
Argonne National Laboratory
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-dev