dpalermo wrote: This PR is causing assertions in the check-offload tests: https://lab.llvm.org/staging/#/builders/105 https://lab.llvm.org/staging/#/builders/105/builds/37057 https://github.com/llvm/llvm-project/pull/167879