]> granicus.if.org Git - llvm/commitdiff
Include what you use in NVPTX.h
authorDmitri Gribenko <gribozavr@gmail.com>
Mon, 3 Jun 2019 14:37:26 +0000 (14:37 +0000)
committerDmitri Gribenko <gribozavr@gmail.com>
Mon, 3 Jun 2019 14:37:26 +0000 (14:37 +0000)
Other files were not relying on these transitive includes, so I'm
submitting this change separately.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@362403 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/NVPTX/NVPTX.h

index e81a301b59b4135c5510de8ab3e34b472a89fde1..6530c40ea1007718edb3f4f389f1fdacecd257e6 100644 (file)
 #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 <cassert>
-#include <iosfwd>
+#include "llvm/Pass.h"
+#include "llvm/Support/CodeGen.h"
 
 namespace llvm {
 class NVPTXTargetMachine;