So, there exists registers which are reserved denoted by the Machine Register Info :: getReserved field. I am wondering if these registers are reserved or preserved? I have come across a case where a reserved register was used. Namely it's in "llvm\test\CodeGen\X86\2009-04-27-CoalescerAssert.ll" where the reserved register ESP (54) in block "bb98.fragment" on line 854. Is this use of a reserved register a mistake or not? Thanks, Jeff Kunkel -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20101109/bdee7dec/attachment.html>
My mistake, the passes before this block created the instruction ADJCALLSTACKDOWN32 12, %ESP<imp-def,dead>, %EFLAGS<imp-def,dead>, %ESP<imp-use> which uses ESP. - Jeff On Tue, Nov 9, 2010 at 12:20 PM, Jeff Kunkel <jdkunk3 at gmail.com> wrote:> So, there exists registers which are reserved denoted by the Machine > Register Info :: getReserved field. I am wondering if these registers are > reserved or preserved? > > I have come across a case where a reserved register was used. Namely it's > in "llvm\test\CodeGen\X86\2009-04-27-CoalescerAssert.ll" where the reserved > register ESP (54) in block "bb98.fragment" on line 854. Is this use of a > reserved register a mistake or not? > > Thanks, > Jeff Kunkel >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20101109/525b212c/attachment.html>
Possibly Parallel Threads
- [LLVMdev] [LLVMDev] Register Allocation and copy instructions
- [LLVMdev] [RFC] [X86] Mov to push transformation in x86-32 call sequences
- [LLVMdev] [LLVMDev] Live Intervals and Finding the next usage
- [LLVMdev] [LLVMDev] Register Allocation and copy instructions
- [LLVMdev] [LLVMDev] Profiling information