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
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