[clang] [RFC][Clang][AMDGPU] Emit only delta target-features to reduce IR bloat (PR #176533)

Shilei Tian via cfe-commits cfe-commits at lists.llvm.org
Sat Jan 17 06:48:07 PST 2026


================
@@ -5606,6 +5606,12 @@ defm amdgpu_expand_waitcnt_profiling : BoolMOption<"amdgpu-expand-waitcnt-profil
   "emits waitcnt(N-1), waitcnt(N-2), ..., waitcnt(target). (AMDGPU only)">,
   NegFlag<SetFalse, [], [ClangOption]>>;
 
+def famdgpu_emit_full_target_features : Flag<["-"], "famdgpu-emit-full-target-features">,
----------------
shiltian wrote:

This could be helpful for testing though.

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


More information about the cfe-commits mailing list