[PATCH] D150633: [X86]check that Uses, Defs are same for entries in memory folding table
Craig Topper via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon May 15 21:55:52 PDT 2023
craig.topper added inline comments.
================
Comment at: llvm/utils/TableGen/X86FoldTablesEmitter.cpp:115
+ auto &MemInstRec = *MemInst->TheDef;
+ auto ListOfUsesLHS = RegInstRec.getValueAsListOfDefs("Uses");
+ auto ListOfUsesRHS = MemInstRec.getValueAsListOfDefs("Uses");
----------------
Replace LHS with Reg and RHS with Mem.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D150633/new/
https://reviews.llvm.org/D150633
More information about the llvm-commits
mailing list