[PATCH] D149986: AMDGPU: Force sc0 and sc1 on stores for gfx940 and gfx941

Matt Arsenault via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri May 12 06:54:22 PDT 2023


arsenm added inline comments.


================
Comment at: llvm/lib/TargetParser/TargetParser.cpp:330-332
     case GK_GFX940:
+      Features["force-store-sc0-sc1"] = true;
+      [[fallthrough]];
----------------
I don't see a reason to set this here. There's no need to expose this to the IR. We already leak too many target details here as it is 


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D149986/new/

https://reviews.llvm.org/D149986



More information about the cfe-commits mailing list