[PATCH] D73673: [AArch64][GlobalISel] Fold in G_ANYEXT/G_ZEXT into TB(N)Z

Amara Emerson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 30 11:14:44 PST 2020


aemerson added inline comments.


================
Comment at: llvm/lib/Target/AArch64/AArch64InstructionSelector.cpp:993
+static Register getTestBitReg(Register Reg, MachineRegisterInfo &MRI) {
+  for (MachineInstr *MI = getDefIgnoringCopies(Reg, MRI); MI;
+       MI = getDefIgnoringCopies(Reg, MRI)) {
----------------
This can be a while() instead?


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

https://reviews.llvm.org/D73673





More information about the llvm-commits mailing list