Displaying 3 results from an estimated 3 matches for "atmp4".
Did you mean:
tmp4
2010 Sep 01
0
[LLVMdev] equivalent IR, different asm
...; <i32> [#uses=1]
vs:
%5 = mul nsw i32 %4, %tmp1 ; <i32> [#uses=1]
; removed: %btmp3 = lshr i64 %1, 32 ; <i64> [#uses=1]
; removed: %btmp4 = trunc i64 %btmp3 to i32 ; <i32> [#uses=1]
%6 = sdiv i32 %5, %atmp4 ; <i32> [#uses=1]
It looks like you got these by manually editing the file. Do you think that the shift wasn't supposed to be there in the first place? Can you send me a .ii file that produces the __ZN7WebCore6kolos1ERiS0_PKNS_20RenderBoxModelObjectEPNS_10StyleI...
2010 Sep 01
5
[LLVMdev] equivalent IR, different asm
The attached .ll files seem equivalent, but the resulting asm from 'opt-fail.ll' causes a crash to webkit.
I suspect the usage of registers is wrong, can someone take a look ?
$ llc opt-pass.ll -o -
.section __TEXT,__text,regular,pure_instructions
.globl __ZN7WebCore6kolos1ERiS0_PKNS_20RenderBoxModelObjectEPNS_10StyleImageE
.align 4, 0x90
2010 Sep 01
2
[LLVMdev] equivalent IR, different asm
...t;
> %5 = mul nsw i32 %4, %tmp1 ; <i32> [#uses=1]
>
> ; removed: %btmp3 = lshr i64 %1, 32 ; <i64> [#uses=1]
> ; removed: %btmp4 = trunc i64 %btmp3 to i32 ; <i32> [#uses=1]
>
> %6 = sdiv i32 %5, %atmp4 ; <i32> [#uses=1]
>
> It looks like you got these by manually editing the file. Do you think that the shift wasn't supposed to be there in the first place? Can you send me a .ii file that produces the __ZN7WebCore6kolos1ERiS0_PKNS_20RenderBoxModelObjectEPN...