================
@@ -9,6 +9,14 @@
 #include "mlir/Dialect/AMDGPU/Utils/Chipset.h"
 #include "gtest/gtest.h"
 
+// Chipset is deprecated in favour of ROCDL::TargetInfo, but stays covered for
+// as long as it ships.
+#ifdef __clang__
+#pragma clang diagnostic ignored "-Wdeprecated-declarations"
+#elif defined(__GNUC__)
+#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
+#endif
----------------
joker-eph wrote:

Isn't there an LLVM macro to handle this? I remember something like this. 

https://github.com/llvm/llvm-project/pull/223563
_______________________________________________
llvm-branch-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

Reply via email to