search for: opensuccessbb

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

2012 Sep 10
2
[LLVMdev] Dead Store Elimination
...asic blocks 7 and haveData. How can I get rid of them? Thanks, Vinayak define internal void @block0() { entry: %0 = call i8* @RNI_File_new() %1 = call i64 @RNI_File_open(i8* %0, i8* getelementptr inbounds ([69 x i8]* @.str, i64 0, i64 0), i8 0) %2 = icmp eq i64 %1, 0 br i1 %2, label %openSuccessBB, label %errorExit0 errorExit0: ; preds = %entry, %5 call void @RNI_File_delete(i8* %0) ret void openSuccessBB: ; preds = %entry %3 = call i8* @RNI_Memory_alloc(i64 1048576) %4 = icmp eq i8* %3, null br i1 %4,...
2012 Sep 10
0
[LLVMdev] Dead Store Elimination
...eBasicAliasAnalysisPass() > llvm::createInstructionCombiningPass() > llvm::createReassociatePass() > llvm::createGVNPass() > llvm::createCFGSimplificationPass() > you should run the mem2reg pass too, and first. > ; <label>:7 ; preds = %openSuccessBB > %8 = alloca i64, align 8 Put alloca instructions in the entry block if possible. Ciao, Duncan.
2012 Sep 10
1
[LLVMdev] Dead Store Elimination
...eInstructionCombiningPass() >> llvm::createReassociatePass() >> llvm::createGVNPass() >> llvm::createCFGSimplificationPass() >> > > you should run the mem2reg pass too, and first. > >> ; <label>:7 ; preds = >> %openSuccessBB >> %8 = alloca i64, align 8 > > Put alloca instructions in the entry block if possible. > > Ciao, Duncan. > _______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > http://lists.cs.uiuc...