Sky Flyer
2015-Jul-27 14:45 UTC
[LLVMdev] Let expressions at file scope combined with defm
Hi all,
I try to run such a line in TableGen but seems it's not working.
What is the problem with this code?
multiclass cond {
let Inst{1-0}=0b11 in defm fxy: ConditionalALU;
....
}
I receive this error:
test.td:162:11: error: expected '=' in let expression
let Inst{1-0}=0b11 in defm fxy: ConditionalALU;
^
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.llvm.org/pipermail/llvm-dev/attachments/20150727/d5b1b269/attachment.html>
Maybe Matching Threads
- [LLVMdev] TSFlags
- [LLVMdev] Nested multiclass/defm declarations?
- [LLVMdev] TableGen: Requires in multiclass's def as well as defm
- Extending TableGen's 'foreach' to work with 'multiclass' and 'defm'
- Extending TableGen's 'foreach' to work with 'multiclass' and 'defm'
