GangRyung Uh
2013-Sep-01 00:54 UTC
[LLVMdev] llvm-tblgen for ARMInstrFormats.td with !if(a,b,c)
Hi, I wonder whether I can conditionally set AsmString in class sI. For instance, I would like to know whether it is possible to establish some int or bit operator to check whether bits<4> p is 14. What I would like to do is to set AsmString as follows, class sI<...> :InstARM<....> { ... let AsmString = !if(some operator, !strconcat(ppc, "${s}", asm), !strconcat(ppc, "${p}${s}", asm); ... } Thanks, -- UGR -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20130831/735c84ce/attachment.html>
Possibly Parallel Threads
- [LLVMdev] problems with tablegen and namespaces
- [LLVMdev] LLVM opt GVN.cpp
- [LLVMdev] problems with tablegen and namespaces
- [LLVMdev] initialize 'dag' variable and interpret asmstring in tablegen .td file
- [LLVMdev] HELP - tblgen -gen-asm-matcher restrictions on .td content