Displaying 1 result from an estimated 1 matches for "reg_5".
Did you mean:
reg_i
2009 Jan 28
3
[LLVMdev] uses of unwind lead to crashes
...un_val, %packed_args* %args) {
%reg_1 = and i32 %fun_val, 3
%reg_2 = icmp eq i32 %reg_1, 1
br i1 %reg_2, label %L_79, label %L_80
L_80:
store i32 %fun_val, i32* @error_val
store i32 5, i32* @error_code
unwind
L_79:
%reg_3 = and i32 %fun_val, 4294967292
%reg_4 = inttoptr i32 %reg_3 to i32*
%reg_5 = load i32* %reg_4
%reg_6 = and i32 %reg_5, 3
%reg_7 = icmp eq i32 %reg_6, 0
br i1 %reg_7, label %Dispatch, label %Fail
Fail:
store i32 2, i32* @error_code
unwind
Dispatch:
switch i32 %reg_5, label %NoMatch [
i32 4, label %Jump_to_main_1
i32 0, label %Jump_to_f_0]
NoMatch:
store i32...