[PATCH] D83251: [SystemZ] Allow specifying integer registers as part of the address calculation
Ulrich Weigand via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jul 7 02:16:05 PDT 2020
uweigand accepted this revision.
uweigand added a comment.
This revision is now accepted and ready to land.
A couple of cosmetic changes inline, otherwise the LGTM. Thanks!
================
Comment at: llvm/lib/Target/SystemZ/AsmParser/SystemZAsmParser.cpp:907
+
+ auto *CE = dyn_cast<MCConstantExpr>(Register);
+ if (!CE)
----------------
Good point, this should be const.
================
Comment at: llvm/lib/Target/SystemZ/AsmParser/SystemZAsmParser.cpp:959
+ // (i.e. insn is of type BDVMem) is true.
+ RegisterGroup RegGroup = (HasVectorIndex) ? RegV : RegGR;
+
----------------
Parentheses around HasVectorIndex are not necessary.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D83251/new/
https://reviews.llvm.org/D83251
More information about the llvm-commits
mailing list