JonPsson1 wrote: Updated test with %if clauses per your suggestion. I tried using a DEFINE inside an %if in order to use an %extra_opts variable in later RUNs, but that did not work. It seems that variable is local only to the %if.. https://github.com/llvm/llvm-project/pull/116314