search for: lbb11

Displaying 3 results from an estimated 3 matches for "lbb11".

Did you mean: lbb1_1
2004 Jun 22
0
[LLVMdev] Linearscan allocator bug?
...ee the problem. You need to tell the compiler that the conditional branches are terminators. You're getting code that looks like this: <LBB7> // // shortcirc_next.0.selectcont.selectcont gr1 = gr1; gr1 = gr1; gr5 = 0; gr2 - gr5; if <>0 goto LBB11; * gr2 = gr4; * gr5 = gr1; * gr6 = gr4; * gr1 = gr1; goto LBB8; I'm guessing that those copies are inserted by the register allocator, and in particular, that is probably where gr6 is supposed to get it's value. If you set the isTerminator flag on your '...
2004 Jun 23
3
[LLVMdev] Linearscan allocator bug?
...er that the > conditional branches are terminators. You're getting code that looks like > this: > > <LBB7> // // shortcirc_next.0.selectcont.selectcont > gr1 = gr1; > gr1 = gr1; > gr5 = 0; > gr2 - gr5; > if <>0 goto LBB11; > * gr2 = gr4; > * gr5 = gr1; > * gr6 = gr4; > * gr1 = gr1; > goto LBB8; > > I'm guessing that those copies are inserted by the register allocator, and > in particular, that is probably where gr6 is supposed to get it's value. > If...
2004 Jun 22
3
[LLVMdev] Linearscan allocator bug?
Folks, I'm running into something which looks like a bug in linearscan allocator. Of course I can't be 100% sure it's not some unobvious mistake on my part, so I'd like to hear your opinion. First, I attach two files -- LLVM asm and the asm for my target. The problem with assembler is: on line 171 it uses register gr2, which is copied from gr6 above, on line 161. The only