================ ---------------- Groverkss wrote: Can you add a test where the scf.if region uses something defined outside the scf.if region but inside the conditional region? https://github.com/llvm/llvm-project/pull/165216