[PATCH] D126771: [fastalloc] Support allocate specific register class in fastalloc.

Xiang Zhang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Jun 19 19:29:59 PDT 2022


xiangzhangllvm added inline comments.


================
Comment at: llvm/lib/CodeGen/RegAllocFast.cpp:1304
         continue;
+      if (Reg.isVirtual() && !ShouldAllocateRegister(Reg))
+        continue;
----------------
I think here should remove the check of "!ShouldAllocateRegister"


================
Comment at: llvm/lib/CodeGen/RegAllocFast.cpp:1402
         continue;
+      if (Reg.isVirtual() && !ShouldAllocateRegister(Reg))
+        continue;
----------------
I think here should remove the check of "!ShouldAllocateRegister"


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D126771



More information about the llvm-commits mailing list