[llvm] [AMDGPU] Factor out common code from SIInsertWaitcnts (PR #83018)

Jay Foad via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 27 01:19:23 PST 2024


================
@@ -14,6 +14,7 @@
 #include "llvm/IR/InstrTypes.h"
 #include "llvm/IR/Module.h"
 #include "llvm/Support/Alignment.h"
+#include "llvm/TargetParser/TargetParser.h"
----------------
jayfoad wrote:

Don't change this. It's generally better to forward-declare things in headers, instead of including more headers, to reduce transitive dependencies.

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


More information about the llvm-commits mailing list