[llvm] [RFC][CodeGen] Add generic target feature checks for intrinsics (PR #201470)

Stanislav Mekhanoshin via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 4 09:24:59 PDT 2026


================
@@ -3724,6 +3724,7 @@ def int_amdgcn_smfmac_f32_32x32x64_fp8_fp8 : AMDGPUMSmfmacIntrinsic<llvm_v16f32_
 }
 
 // { vdst_new, vsrc_new } llvm.amdgcn.permlane16.swap <vdst_old> <vsrc_old> <fi> <bound_control>
+let TargetFeatures = "permlane16-swap" in
----------------
rampitec wrote:

For the example purposes it shall probably use an intrinsic which needs couple features enabled?

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


More information about the llvm-commits mailing list