[LLVMdev] creating a vreg in eliminateFrameIndex()
Hal Finkel
hfinkel at anl.gov
Thu Jan 29 13:08:20 PST 2015
----- Original Message -----
> From: "Steve King" <steve at metrokings.com>
> To: llvmdev at cs.uiuc.edu
> Sent: Thursday, January 29, 2015 3:00:26 PM
> Subject: [LLVMdev] creating a vreg in eliminateFrameIndex()
>
> Hello LLVM,
> The ARM target sometimes adds an instruction with a virtual register
> in eliminateFrameIndex():
>
> https://github.com/llvm-mirror/llvm/blob/master/lib/Target/ARM/ARMBaseRegisterInfo.cpp
>
> This looks late for a virtual register to appear. Where is this vreg
> made real?
It is made real by the register scavanger (see scavengeFrameVirtualRegs in lib/CodeGen/PrologEpilogInserter.cpp.
-Hal
>
> Thanks,
> -steve
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>
--
Hal Finkel
Assistant Computational Scientist
Leadership Computing Facility
Argonne National Laboratory
More information about the llvm-dev
mailing list