Makes sense thank you. I have to look at the dependencies between different
optimization passes too I guess.
On Sun, Mar 28, 2021 at 17:33 Johannes Doerfert
wrote:
> I recommend adding such a flag to the pass you want to disable.
> Whenever `runOnXXX` is called, check the flag and exit if set.
>
I recommend adding such a flag to the pass you want to disable.
Whenever `runOnXXX` is called, check the flag and exit if set.
~ Johannes
On 3/28/21 5:27 PM, Navid Rahimi wrote:
Thanks Johannes. That makes this makes it more understandable to me. What
can I do for optimization that doesn’t hav
Thanks Johannes. That makes this makes it more understandable to me. What
can I do for optimization that doesn’t have flag? How should I approach
disabling them.
On Sat, Mar 27, 2021 at 22:10 Johannes Doerfert
wrote:
> Hi Navid,
>
> comments inlined.
>
> On 3/27/21 9:24 PM, Navid Rahimi via llvm
Hi Navid,
comments inlined.
On 3/27/21 9:24 PM, Navid Rahimi via llvm-dev wrote:
Hi everyone,
tl;dr: I want to control which optimization and transformation can and will
run on my code. Does Clang/LLVM permit such an approach?
There is no unified approach to this as far as I know. The closes