Displaying 2 results from an estimated 2 matches for "charitha".
Did you mean:
charith
2020 Jan 31
2
Disabling select instructions
...should give you a fairly complete list.
>
> It may be better to let the optimization pipeline proceed undisturbed,
> but then run a custom pass at the end that turns selects back into
> control flow. This would be an easy pass to write.
>
> John
>
>
> On 1/30/20 3:31 PM, Charitha Saumya via llvm-dev wrote:
> > Hi,
> >
> > I would like to know if there's a way to avoid select instructions
> > during the IR generation. What are the optimization passes that can
> > result in a select instruction?
> > i.e. I want to preserve branches in m...
2020 Jan 30
2
Disabling select instructions
...; preds = %2
%14 = load i32*, i32** %3, align 8
%15 = load i32, i32* %14, align 4
%16 = add nsw i32 %15, 20
%17 = load i32*, i32** %4, align 8
store i32 %16, i32* %17, align 4
br label %18
; <label>:18: ; preds = %13, %8
ret void
}
Thanks,
Charitha
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20200130/fc78bdc5/attachment.html>