From 2b369f83c59b29489c24ce9606c21d7e0795ee9a Mon Sep 17 00:00:00 2001 From: Dmitri Gribenko Date: Mon, 3 Jun 2019 14:37:26 +0000 Subject: [PATCH] Include what you use in NVPTX.h Other files were not relying on these transitive includes, so I'm submitting this change separately. llvm-svn: 362403 --- llvm/lib/Target/NVPTX/NVPTX.h | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/llvm/lib/Target/NVPTX/NVPTX.h b/llvm/lib/Target/NVPTX/NVPTX.h index e81a301b59b4..6530c40ea100 100644 --- a/llvm/lib/Target/NVPTX/NVPTX.h +++ b/llvm/lib/Target/NVPTX/NVPTX.h @@ -14,13 +14,8 @@ #ifndef LLVM_LIB_TARGET_NVPTX_NVPTX_H #define LLVM_LIB_TARGET_NVPTX_NVPTX_H -#include "llvm/ADT/StringMap.h" -#include "llvm/IR/Module.h" -#include "llvm/IR/Value.h" -#include "llvm/Support/ErrorHandling.h" -#include "llvm/Target/TargetMachine.h" -#include -#include +#include "llvm/Pass.h" +#include "llvm/Support/CodeGen.h" namespace llvm { class NVPTXTargetMachine;