Displaying 1 result from an estimated 1 matches for "false1".
Did you mean:
false
2019 Oct 23
2
Inserting instructions when encountered a specific label
...%7, align 4
%8 = load i32, i32* %6, align 4
%9 = load i32, i32* %7, align 4
%10 = icmp slt i32 %8, %9
sbr i1 %10, label %true, label %false
true:
%true1 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str, i32 0, i32 0))
br label %end
false:
%false1 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i32 0, i32 0))
br label %end
end:
%end1 = load i32, i32* %3, align 4
ret i32 %end1
}
I want to insert a new instruction when I encounter the true, false, and end labels (inside their respective bloc...