[PATCH] D157230: [SPARC][IAS] Add SETX pseudoinstruction

Sergei Barannikov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 8 10:03:13 PDT 2023


barannikov88 added inline comments.


================
Comment at: llvm/lib/Target/Sparc/AsmParser/SparcAsmParser.cpp:672
+  if (IsImm && IsSmallNegative) {
+    Instructions.push_back(MCInstBuilder(SP::ORri)
+                               .addReg(MCRegOp.getReg())
----------------
Can this be delegated to expandSET, too? It appears to have some logic related to handling of small negative numbers.



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

https://reviews.llvm.org/D157230



More information about the llvm-commits mailing list