[clang] [llvm] [AMDGPU] Guard more intrinsics with target features (PR #203956)

Shilei Tian via cfe-commits cfe-commits at lists.llvm.org
Fri Jul 10 07:58:07 PDT 2026


================
@@ -927,7 +928,10 @@ class AMDGPUAVLoad : Intrinsic <
   [SDNPMemOperand, SDNPMayLoad]
 >;
 
+let TargetFeatures = "flat-global-insts" in {
----------------
shiltian wrote:

Also, it is going to be very challenging to use sub target feature here, because of circular dependencies:

```
AMDGPU.td -> Target.td -> Intrinsics.td
```

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


More information about the cfe-commits mailing list