[llvm] [AMDGPU] selecting v_sat_pk instruction, version 2 (PR #123297)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 17 03:49:19 PST 2025


================
@@ -816,6 +816,14 @@ SITargetLowering::SITargetLowering(const TargetMachine &TM,
                          {MVT::v4f32, MVT::v8f32, MVT::v16f32, MVT::v32f32},
                          Custom);
     }
+
+    // true 16 currently unsupported
+    if (!Subtarget->hasTrue16BitInsts() || (!Subtarget->useRealTrue16Insts() ||
----------------
arsenm wrote:

This should be a single predicate for the instruction, and not related to the true16 support. This is likely a new subtarget feature

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


More information about the llvm-commits mailing list