llvm-6502/include/llvm/Target
Bill Wendling 976ef86689 During local stack slot allocation, the materializeFrameBaseRegister function
may be called. If the entry block is empty, the insertion point iterator will be
the "end()" value. Calling ->getParent() on it (among others) causes problems.

Modify materializeFrameBaseRegister to take the machine basic block and insert
the frame base register at the beginning of that block. (It's very similar to
what the code does all ready. The only difference is that it will always insert
at the beginning of the entry block instead of after a previous materialization
of the frame base register. I doubt that that matters here.)

<rdar://problem/8782198>


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@122104 91177308-0d34-0410-b5e6-96231b3b80d8
2010-12-17 23:09:14 +00:00
..
Mangler.h
SubtargetFeature.h Merge System into Support. 2010-11-29 18:16:10 +00:00
Target.td Remove ARM isel hacks that fold large immediates into a pair of add, sub, and, 2010-11-17 20:13:28 +00:00
TargetAsmBackend.h MC/Target: Remove HasScatteredSymbols target hook variable, which has been 2010-12-17 02:06:08 +00:00
TargetAsmInfo.h Fixed version of 121434 with no new memory leaks. 2010-12-10 07:39:47 +00:00
TargetAsmLexer.h
TargetAsmParser.h
TargetCallingConv.h Inside the calling convention logic LocVT is always a simple 2010-11-03 11:35:31 +00:00
TargetCallingConv.td
TargetData.h Merge System into Support. 2010-11-29 18:16:10 +00:00
TargetELFWriterInfo.h
TargetFrameInfo.h Move more PEI-related hooks to TFI 2010-11-27 23:05:25 +00:00
TargetInstrDesc.h Merge System into Support. 2010-11-29 18:16:10 +00:00
TargetInstrInfo.h Move callee-saved regs spills / reloads to TFI 2010-11-27 23:05:03 +00:00
TargetInstrItineraries.h
TargetIntrinsicInfo.h
TargetJITInfo.h Merge System into Support. 2010-11-29 18:16:10 +00:00
TargetLowering.h Enable sibling call optimization of libcalls which are expanded during 2010-11-30 23:55:39 +00:00
TargetLoweringObjectFile.h
TargetMachine.h Change some methods in MCDwarf.cpp to be able to handle an arbitrary 2010-11-19 02:26:16 +00:00
TargetOpcodes.h
TargetOptions.h
TargetRegisterInfo.h During local stack slot allocation, the materializeFrameBaseRegister function 2010-12-17 23:09:14 +00:00
TargetRegistry.h MC: Make TargetAsmBackend available to the AsmStreamer. 2010-12-16 03:05:59 +00:00
TargetSchedule.td
TargetSelect.h
TargetSelectionDAG.td Renaming ISD::BIT_CONVERT to ISD::BITCAST to better reflect the LLVM IR concept. 2010-11-23 03:31:01 +00:00
TargetSelectionDAGInfo.h
TargetSubtarget.h