[PATCH] D105854: [PowerPC] Inefficient register allocation of ACC registers results in many copies.

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 3 16:20:17 PDT 2021


arsenm added inline comments.


================
Comment at: llvm/include/llvm/CodeGen/TargetRegisterInfo.h:876
+  /// local ranges when registers are added to the queue.
+  virtual bool addAllocPriorityToGlobalRanges() const { return false; }
+
----------------
Why is this a target option? Why not just always apply the target defined priority? It seems like a bug to me that this wasn't added before


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D105854



More information about the llvm-commits mailing list