Artem-B wrote: Looks like with this patch we're generating .common even when we're compiling for older PTX version. The common-linkage.ll test actually fails if you happen to run it with ptxas enabled. https://github.com/llvm/llvm-project/pull/84416