[llvm] [AMDGPU] Also disable lit64() from VOP3 and inline constant (PR #196421)

Stanislav Mekhanoshin via llvm-commits llvm-commits at lists.llvm.org
Thu May 7 17:49:06 PDT 2026


================
@@ -332,3 +332,8 @@ v_add_f64_e64 v[4:5], lit64(101.0), v[8:9]
 // GFX125X-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: invalid operand for instruction
 // GFX125X-ERR-NEXT:{{^}}v_add_f64_e64 v[4:5], lit64(101.0), v[8:9]
 // GFX125X-ERR-NEXT:{{^}}                            ^
+
+v_add_f64_e64 v[4:5], lit64(1.0), v[8:9]
----------------
rampitec wrote:

Yes, src1 shall be prohibited, that's the next patch in stack. I do not believe SP3 accepts it though. You are getting VOP2, I am talking about VOP3.

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


More information about the llvm-commits mailing list