[PATCH] D101525: RegAlloc: do not consider liveins to EH-pad successors as liveout.

Eli Friedman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue May 4 14:46:59 PDT 2021


efriedma added inline comments.


================
Comment at: llvm/lib/CodeGen/RegAllocFast.cpp:1455
+           LI.PhysReg == TLI->getExceptionSelectorRegister(PersonalityFn)))
+        continue;
       setPhysRegState(LI.PhysReg, regPreAssigned);
----------------
Calling getExceptionPointerRegister() directly from fast regalloc seems hacky.  We don't want to copy-paste this code everywhere that cares about physical register live-outs.


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

https://reviews.llvm.org/D101525



More information about the llvm-commits mailing list