[PATCH] D67114: [mir-canon][NFC] Move MIR Vreg renaming code to separate file for better reuse.

Puyan Lotfi via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 3 16:40:38 PDT 2019


plotfi added inline comments.


================
Comment at: llvm/lib/CodeGen/MIRVRegNamerUtils.h:63
+    }
+    const unsigned VR_GAP = (++VRegGapIndex * 1000);
+
----------------
paquette wrote:
> Why 1000?
It's used as a default value for skipping indices between BBs and side-effect tree roots. I've made it an optional parameter of the NamedVRegCursor. 


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D67114





More information about the llvm-commits mailing list