================ ---------------- grypp wrote: Hmm, we don't really run canonicalization pattern before nvvm. If we don't do this, nvvm.subf will remain in the code and compilation will fail right? https://github.com/llvm/llvm-project/pull/179162