[PATCH] D103326: [GlobalISel] Add combine for PTR_ADD with regbanks

Amara Emerson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 30 15:17:28 PDT 2021


aemerson accepted this revision.
aemerson added inline comments.
This revision is now accepted and ready to land.


================
Comment at: llvm/include/llvm/CodeGen/GlobalISel/CombinerHelper.h:131
+  ///
+  /// \pre Reg != 0 (NoRegister)
+  Optional<unsigned> getRegBankId(Register Reg) const;
----------------
nit: \pre Reg.isValid()


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D103326



More information about the llvm-commits mailing list