[llvm] [NVPTX] Make i16x2 a native type and add supported vec instructions (PR #65432)

via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 8 10:26:27 PDT 2023


ThomasRaoux wrote:

> Hmm. Why did they work then? Loads/stores/bitcasts for v2i16 should not have dependent on whether the target is sm_90 or not. Or maybe it did, if we set lowering action to Expand on older GPUs.
> 
> You may try running the tests with `-mcpu=sm_90`

I tried with `-mcpu=sm_90 -mattr=+ptx80` and without it and I can't reproduce the problem.

https://github.com/llvm/llvm-project/pull/65432


More information about the llvm-commits mailing list