[PATCH] D123394: [CodeGen] Late cleanup of redundant address/immediate definitions.

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 1 15:38:23 PDT 2022


craig.topper added inline comments.


================
Comment at: llvm/lib/CodeGen/MachineLateInstrsCleanup.cpp:196
+  }
+  return DefedReg != 0;
+}
----------------
Use DefedReg.isValid(). Someday we should remove the implicited casts to unsigned integers from the Register class.


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

https://reviews.llvm.org/D123394



More information about the llvm-commits mailing list