[llvm-dev] Problem with GenAsmMatcher: ($addr) (original) (raw)
Robert Baruch via llvm-dev llvm-dev at lists.llvm.org
Sat Jan 19 08:30:32 PST 2019
- Previous message: [llvm-dev] llvm.org service is degraded
- Next message: [llvm-dev] Is read and write variables always translated to load and store IR instructions?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi all,
My instruction is something like "LDA ($5000),Y". So my argstr pattern in the td file is "($$$addr),Y". The problem is that I'm getting an error from tablegen -gen-asm-matcher:
error: unable to find operand: 'addr)'.
Then I looked at GenAsmMatcher.cpp and tried "($$${addr}),Y" but got "error: unable to find operand: '$addr'"
So,
- How do I fix this?
- Is there any documentation on what the format of the argstr should be? -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20190119/cb99a3ec/attachment.html>
- Previous message: [llvm-dev] llvm.org service is degraded
- Next message: [llvm-dev] Is read and write variables always translated to load and store IR instructions?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]