Displaying 2 results from an estimated 2 matches for "ifchain".
Did you mean:
i_chain
2011 Oct 19
0
[LLVMdev] Question regarding basic-block placement optimization
...One big caveat,
I know I have an iteration bug in here somewhere that is inf-looping. Just
ran out of steam debugging it, will pick it back up again later today to
shake it out.
Still, for the test cases that don't tickle the iteration bug, it generates
beautiful, well laid out code. =]
% cat ifchain.ll
; RUN: opt < %s -analyze -block-freq | FileCheck %s
declare void @error(i32 %i, i32 %a, i32 %b)
define i32 @test(i32 %i, i32* %a, i32 %b) {
entry:
%gep1 = getelementptr i32* %a, i32 1
%val1 = load i32* %gep1
%cond1 = icmp ugt i32 %val1, 1
br i1 %cond1, label %then1, label %else1, !p...
2011 Oct 19
3
[LLVMdev] Question regarding basic-block placement optimization
On Tue, Oct 18, 2011 at 6:58 PM, Jakob Stoklund Olesen <stoklund at 2pi.dk>wrote:
>
> On Oct 18, 2011, at 5:22 PM, Chandler Carruth wrote:
>
> As for why it should be an IR pass, mostly because once the selection dag
>> runs through the code, we can never recover all of the freedom we have at
>> the IR level. To start with, splicing MBBs around requires known about