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
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
TargetCallingConv.td
TargetData.h Merge System into Support. 2010-11-29 18:16:10 +00:00
TargetELFWriterInfo.h
TargetFrameInfo.h
TargetInstrDesc.h Merge System into Support. 2010-11-29 18:16:10 +00:00
TargetInstrInfo.h
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
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
TargetSelectionDAGInfo.h
TargetSubtarget.h