[llvm] [AMDGPU] selecting v_sat_pk instruction, version 2 (PR #123297)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Mon Jan 20 08:22:17 PST 2025
================
@@ -816,6 +816,13 @@ SITargetLowering::SITargetLowering(const TargetMachine &TM,
{MVT::v4f32, MVT::v8f32, MVT::v16f32, MVT::v32f32},
Custom);
}
+
+ // Avoid true 16 instruction
+ if (!Subtarget->hasTrue16BitInsts() || !Subtarget->useRealTrue16Insts()) {
----------------
arsenm wrote:
Needs predicate for has the instruction
https://github.com/llvm/llvm-project/pull/123297
More information about the llvm-commits
mailing list