[PATCH] D101349: AArch64: support i128 cmpxchg in GlobalISel.

Jessica Paquette via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon May 10 09:25:43 PDT 2021


paquette added inline comments.


================
Comment at: llvm/lib/Target/AArch64/GISel/AArch64InstructionSelector.cpp:2535
+      if (SrcRB.getID() == AArch64::GPRRegBankID &&
+          DstRB.getID() == AArch64::GPRRegBankID) {
+        MIB.buildInstr(TargetOpcode::COPY, {DstReg}, {})
----------------
With the above assert, you don't have to check both `SrcRB` and `DstRB` here.


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

https://reviews.llvm.org/D101349



More information about the llvm-commits mailing list