Displaying 1 result from an estimated 1 matches for "_bb1_1".
Did you mean:
lbb1_1
2012 Feb 02
0
[LLVMdev] How to improve code generated for 'getelementptr' ?
...uch better
(The optimal would use 4 instructions)
Question: how can we teach llvm to provide code like Init2, for input of Init1 ?
---
.text
.globl _Init1
_Init1: ;; @Init1
;; BB#0: ;; %entry
ldi R1 , 0
ldi R2 , 1
ldi R3 , 100
_BB1_1: ;; %for.body
;; =>This Inner Loop Header: Depth=1
mov R4 , R1
add R1 , 1
mov R5 , R0
sll R4 , 2
cmpne R1 , R3
add R5 , R4
bcc24 _BB1_1
sw R2 , R5, 0
;; BB#2: ;; %for.end
b...