[llvm] [NVPTX] Avoid introducing unnecessary ProxyRegs and Movs in ISel (PR #120486)

Artem Belevich via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 18 16:29:21 PST 2024


================
@@ -212,21 +208,6 @@ bool NVPTXDAGToDAGISel::tryIntrinsicChain(SDNode *N) {
   }
 }
 
-// There's no way to specify FP16 and BF16 immediates in .(b)f16 ops, so we
-// have to load them into an .(b)f16 register first.
----------------
Artem-B wrote:

I'm not sure it's been fixed in ptxas: https://godbolt.org/z/d8EcMevc8

If anything, recent versions seem to be more restrictive than the older ones.

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


More information about the llvm-commits mailing list