search for: mylicm

Displaying 3 results from an estimated 3 matches for "mylicm".

Did you mean: licm
2010 Nov 17
1
[LLVMdev] L->isLoopInvariant giving wrong results?
...amp;AU) const { AU.setPreservesCFG(); AU.addRequired<DominatorTree>(); AU.addRequired<LoopInfo>(); AU.addRequiredID(LoopSimplifyID); AU.addPreserved<ScalarEvolution>(); AU.addPreservedID(LoopSimplifyID); } }; } char MyLoopPass::ID=0; INITIALIZE_PASS(MyLoopPass, "myLICM", "simple LICM pass", false, false); bool MyLoopPass::runOnLoop(Loop * L, LPPassManager &lpm){ //find loop pre-header BasicBlock* pre=L->getLoopPreheader(); curLoop=L; changed=false; BasicBlock* lat=L->getLoopLatch(); LI = &getAnalysis<LoopInfo>(); DT = &getA...
2010 Nov 17
0
[LLVMdev] L->isLoopInvariant giving wrong results?
i am getting seg fault on functions like I->eraseFromParent also. I'm assuming that the problem comes when i change the loop structure. On Thu, Nov 18, 2010 at 4:05 AM, Sreeraj a <writetosrj at gmail.com> wrote: > The funny thing is that i am manually able to hoist the Loop invariant > instruction to the basicBlock terminator, by editing the human readable form > and then
2010 Nov 17
2
[LLVMdev] L->isLoopInvariant giving wrong results?
The funny thing is that i am manually able to hoist the Loop invariant instruction to the basicBlock terminator, by editing the human readable form and then using llvm-as to convert it into bytecode. On Thu, Nov 18, 2010 at 4:01 AM, Chris Lattner <clattner at apple.com> wrote: > > On Nov 17, 2010, at 1:38 PM, Sreeraj a wrote: > > > Thanks Chris, > > > > I was