[llvm] [AMDGPU] Factor out common code from SIInsertWaitcnts (PR #83018)
Jay Foad via llvm-commits
llvm-commits at lists.llvm.org
Tue Feb 27 06:51:51 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:
> Anyway TargetParser header is needed in AMDGPUWaitCountUtils.h. Should I move this line to AMDGPUWaitCountUtils.h?
Yes that would be cleaner.
https://github.com/llvm/llvm-project/pull/83018
More information about the llvm-commits
mailing list