[clang] [libclc] [llvm] [AMDGPU] Add a new target gfx1152 (PR #94534)

Jay Foad via cfe-commits cfe-commits at lists.llvm.org
Thu Jun 6 01:31:34 PDT 2024


================
@@ -1534,6 +1534,12 @@ def FeatureISAVersion11_5_1 : FeatureSet<
      FeatureVGPRSingleUseHintInsts,
      Feature1_5xVGPRs])>;
 
+def FeatureISAVersion11_5_2 : FeatureSet<
----------------
jayfoad wrote:

I don't have a good answer to this except "it's what we normally do". Other parts of the software stack (kernel drivers etc) need to distinguish gfx1150 from gfx1152, and I guess they don't want to map "gfx1152" -> "gfx1150" before invoking the compiler. Also, it will make it easier for us to implement gfx1152-specific optimizations and workarounds in future if there are any.

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


More information about the cfe-commits mailing list