[PATCH] D94264: [GlobalISel] Add MachineInstNumbering to CSEInfo and propagate CSE throughout AArch64 pipeline.

Jon Roelofs via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 1 08:31:28 PDT 2021


jroelofs added inline comments.


================
Comment at: llvm/include/llvm/CodeGen/GlobalISel/CSEInfo.h:70
+class MachineInstNumbering {
+  SlotIndexes *SI = nullptr;
+  MachineFunction *MF = nullptr;
----------------
It would eliminate the explicit dtor and simplify the logic in `init()` if this were `std::unique_ptr<SlotIndexes> SI;`


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D94264



More information about the llvm-commits mailing list