search for: standarpass

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

Did you mean: standarpasses
2010 May 09
1
[LLVMdev] Remove identical or redundant basic blocks?
...erge the ret instructions (and not the blocks).) The -simplifycfg pass does not affect my code at all. Moreover, according to 'StandardPasses.h' I guess the pass already runs (about 4 times) as a part of -O3. I have yet not looked at the actual code of simplifycfg but the comment in 'StandarPasses.h' says it should merge and eliminate basic blocks. include/llvm/Support/StandardPasses.h, line 129 (SVN-97366): PM->add(createCFGSimplificationPass()); // Merge & remove BBs Heinz On 05/09/2010 01:36 PM, John Criswell wrote: > Eugene Toder wrote: >> Would it make sense...
2010 May 09
0
[LLVMdev] Remove identical or redundant basic blocks?
Eugene Toder wrote: > Would it make sense to have a similar pass that operates on llvm main IR? > The unify exit return node (-mergereturn?) pass should take care of the first example. The -simplifycfg option might take care of the second example. Both work on LLVM IR. -- John T. > On Sat, May 8, 2010 at 5:15 PM, Dale Johannesen <dalej at apple.com> wrote: > >>
2010 May 08
2
[LLVMdev] Remove identical or redundant basic blocks?
Would it make sense to have a similar pass that operates on llvm main IR? On Sat, May 8, 2010 at 5:15 PM, Dale Johannesen <dalej at apple.com> wrote: > The branch folding pass does this, but it operates later, on the > target-dependent form in llc. > > On May 8, 2010, at 8:48 AM, Heinz Riener wrote: > >> Dear all, >> >> after optimizing a small LLVM example