(original) (raw)
Hi Sandeep,
On Aug 25, 2021, at 11:12 AM, Dasgupta, Sandeep via llvm-dev <llvm-dev@lists.llvm.org> wrote:Hello Team,I have the following question relate to how to associate multiple SchedWriteRes with the same schedule model to a particular instruction.
Whenever changing the machine model, it's good to rerun the llvm-tblgen command with -debug-only=subtarget-emitter. That should give you a good idea of how all the definitions get expanded.
The generated AArch64GenSubtargetInfo.inc should have enough comments to grep the tables. But the encoding can be confusing.
The Tablegen subtarget emitter should diagnose ambiguity. But maybe that's not happening.
-Andy