Displaying 1 result from an estimated 1 matches for "logic_shift_right".
2019 Feb 05
2
IRBuilder constraints
...2* inttoptr (i32 16384 to i32*), align 16384
%v0_20 = load i32, i32* inttoptr (i32 16388 to i32*), align 4
%v2_24 = add i32 %v0_20, %v0_18
which is absolutely fine, however, in another binary:
...
0x800004: r2 = memread(0x4000)
0x800008: r3 = memread(0x4004)
0x80000C: r6 = 0x4020
0x800010: r1 = logic_shift_right(r6, 3)
0x800014: r4 = add(r2, r3)
...
Gets translated to:
@global_var_4020.3 = global i32 0
@global_var_4000.4 = local_unnamed_addr global i32 0
@global_var_4004.5 = local_unnamed_addr global i32 0
...
%v0_800004 = load i32, i32* @global_var_4400.1, align 4
%v0_800008 = load i32, i32* @global_va...