[clang] [AMDGPU] Make `__GCC_DESTRUCTIVE_SIZE` 128 on AMDGPU (PR #115241)

Matt Arsenault via cfe-commits cfe-commits at lists.llvm.org
Wed Nov 6 16:44:05 PST 2024


================
@@ -462,6 +462,10 @@ class LLVM_LIBRARY_VISIBILITY AMDGPUTargetInfo final : public TargetInfo {
   }
 
   bool hasHIPImageSupport() const override { return HasImage; }
+
+  std::pair<unsigned, unsigned> hardwareInterferenceSizes() const override {
+    return std::make_pair(128, 128);
----------------
arsenm wrote:

What's the first one? Check both values? 

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


More information about the cfe-commits mailing list