[llvm] [AMDGPU][NFCI] Add IEEEMinimumMaximumInsts SubtargetFeature (PR #141081)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Mon May 26 12:58:20 PDT 2025


================
@@ -143,6 +143,12 @@ def FeatureFmaMixInsts : SubtargetFeature<"fma-mix-insts",
   "Has v_fma_mix_f32, v_fma_mixlo_f16, v_fma_mixhi_f16 instructions"
 >;
 
+def FeatureIEEEMinimumMaximumInsts : SubtargetFeature<"ieee-minimum-maximum-insts",
+  "HasIEEEMinimumMaximumInsts",
+  "true",
+  "Has v_minimum/maximum_f16/f32/f64 and v_pk_minimum/maximum_f16 instructions"
----------------
arsenm wrote:

My point is these are not bundled instructions, we need at least 2 separate features. gfx950 has its own weird subset 

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


More information about the llvm-commits mailing list