search for: ipconstantpropagation_8cpp_source

Displaying 1 result from an estimated 1 matches for "ipconstantpropagation_8cpp_source".

2017 Jan 27
2
llvm return value propagation & asm
...%530 = call i32 @callcatch(i32 %528, i32 %529) #3, !dbg !7648 store i32 %530, i32* %20, !dbg !7648 %531 = load i32, i32* %20, !dbg !7630 ... call void @jumptocont(i32 %531, i32 %532, i32 %533) #3, !dbg However the return constant propagation code from http://llvm.org/docs/doxygen/html/IPConstantPropagation_8cpp_source.html finds the ret i32 0 and ends up calling jumptocont with i32 0 as a first parameter, which wasn't what I wanted. Ending up like: %189 = tail call i32 @callcatchn(i32 %188, i32 %12) #10, !dbg !7019 tail call void @jumptocont(i32 0, i32 %14, i32 %12) #10, !dbg !7022 I tried unreachab...