[llvm] [AMDGPU] Pre-commit fdot2 test. NFC. (PR #72622)

Stanislav Mekhanoshin via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 17 00:25:36 PST 2023


================
@@ -72,4 +72,23 @@ entry:
   ret void
 }
 
+; FIXME: This test violates constant bus restriction.
----------------
rampitec wrote:

No, it does not. This is considered a legal immediate. It is legal indeed, but only with op_sel_hi selecting low 16 bits. There is code in the SIFoldOperands to do so, but if this code is not run for any reason isImmLegal (or whatever it is) says its is legal and we just happily inline it.

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


More information about the llvm-commits mailing list