search for: lsli

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

Did you mean: lsl
2012 Jul 30
0
[LLVMdev] IR optimization pass ideas for backend porting before ISel
...%for.body4.lr.ph ], [ %add.ptr.sum, %for.inc ] %add.ptr.sum = add i32 %j.018, 1 %add.ptr6 = getelementptr inbounds i32* %arr, i32 %add.ptr.sum %1 = load i32* %add.ptr6, align 4, !tbaa !0 and thus generated assembly codes (bubbleSort-mcore-O3.s) by llc -march=mcore as following: mov r13,r6 lsli r13, 2 mov r14,r2 addu r14,r13 ldw r13, (r14, 4) in which r6 stands for %j.018, r2 stands for arr, and lsli N means left logic shift N bits. (It may be meaningless, but I don't know a better way to get good codes as GCC) If I modified IR(bubbleSort-cast-1.ll) by transforming GEP to integer in...