[LLVMdev] PHI Elimination in Register Allocation Pass

Krzysztof Parzyszek kparzysz at codeaurora.org
Thu Jul 9 13:31:52 PDT 2015


On 7/9/2015 3:06 PM, Natanael Ramos wrote:
>
> Looking at the source code of allocators of LLVM, I see no explicit call
> of PHI Elimination (/*AU.addRequiredID (PHIEliminationID**)*/), my
> question is whether if this step is called, occurs when and where such a
> call?

Look in lib/CodeGen/Passes.cpp:

   addPass(&PHIEliminationID, false);

-Krzysztof

-- 
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, 
hosted by The Linux Foundation



More information about the llvm-dev mailing list