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

Christudasan Devadasan via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 27 06:45:48 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"
----------------
cdevadas wrote:

I'm calling IsaVersion default constructor in the downstream version of AMDGPUBaseInfo.h in a follow-up patch. Thought I could make it consistent. 
Anyway TargetParser header is needed in AMDGPUWaitCountUtils.h. Should I move this line to AMDGPUWaitCountUtils.h?

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


More information about the llvm-commits mailing list