[PATCH] D62717: [MIR-Canon] Skip the first N vreg names lazily.

Saleem Abdulrasool via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu May 30 22:37:41 PDT 2019


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


================
Comment at: llvm/lib/CodeGen/MIRCanonicalizerPass.cpp:483
   MachineRegisterInfo &MRI;
-  unsigned virtualVRegNumber;
+  unsigned virtualVRegNumber = 0;
 
----------------
Why not just initialize in the initializer list?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D62717





More information about the llvm-commits mailing list