Displaying 1 result from an estimated 1 matches for "rni_file_new".
2012 Sep 10
2
[LLVMdev] Dead Store Elimination
...llvm::createReassociatePass()
llvm::createGVNPass()
llvm::createCFGSimplificationPass()
The optimized IR seems to contain what look like dead stores on %8 and
%9 in basic 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)...