[llvm] AMDGPU: Allow only VGPR wide sources in fp6/4/8 conversions (PR #127464)
Jay Foad via llvm-commits
llvm-commits at lists.llvm.org
Tue Feb 18 07:22:00 PST 2025
================
@@ -1818,6 +1818,18 @@ class getVOP3VRegSrcForVT<ValueType VT, bit IsTrue16 = 0, bit IsFake16 = 0> {
1 : RegisterOperand<VGPR_32>);
}
+// VGPR only VOP3 src with 9 bit encoding
+class getVOP3VSrcReg9ForVT<ValueType VT> {
----------------
jayfoad wrote:
> getVOP3VRegSrcForVT is extended to use VRegSrc_* instead of RegisterOperand
We need to understand _why_ this doesn't work. I tried it and all tests passed except for some strange missing output in some disassembler tests, which would need debugging.
https://github.com/llvm/llvm-project/pull/127464
More information about the llvm-commits
mailing list