[PATCH] D144154: [X86]Use Class to refactor ArithMetic td file in X86

Kan Shengchen via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 17 02:59:07 PST 2023


skan added inline comments.


================
Comment at: llvm/lib/Target/X86/X86InstrArithmetic.td:506
+//               instrs with Constraints = "$src1 = $dst".
+class UnaryOpR_C<bits<8> opcode, Format f, string mnemonic, X86TypeInfo info,
+                 list<dag> pattern>
----------------
Drop the _C suffix, this class does not have the constraint in the definition. And update the comments


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D144154/new/

https://reviews.llvm.org/D144154



More information about the llvm-commits mailing list