mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-28 19:25:00 +00:00
Push LLVMContexts through the IntegerType APIs.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78948 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -435,7 +435,8 @@ void LoopRotate::preserveCanonicalLoopForm(LPPassManager &LPM) {
|
||||
// Right now original pre-header has two successors, new header and
|
||||
// exit block. Insert new block between original pre-header and
|
||||
// new header such that loop's new pre-header has only one successor.
|
||||
BasicBlock *NewPreHeader = BasicBlock::Create("bb.nph",
|
||||
BasicBlock *NewPreHeader = BasicBlock::Create(OrigHeader->getContext(),
|
||||
"bb.nph",
|
||||
OrigHeader->getParent(),
|
||||
NewHeader);
|
||||
LoopInfo &LI = LPM.getAnalysis<LoopInfo>();
|
||||
|
Reference in New Issue
Block a user