[llvm] [AMDGPU][True16][CodeGen] build_vector pattern in true16 (PR #118904)

Jay Foad via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 10 01:21:21 PST 2024


================
@@ -3275,6 +3275,8 @@ def : GCNPat <
   (COPY_TO_REGCLASS SReg_32:$src0, SReg_32)
 >;
 
+foreach p = [NotHasTrue16BitInsts, UseFakeTrue16Insts] in
----------------
jayfoad wrote:

Is it worth coming up with a single predicate for this, something like NotUseRealTrue16Insts (ugh!)?

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


More information about the llvm-commits mailing list