diff options
| author | Chandler Carruth <chandlerc@gmail.com> | 2014-03-04 11:26:31 +0000 |
|---|---|---|
| committer | Chandler Carruth <chandlerc@gmail.com> | 2014-03-04 11:26:31 +0000 |
| commit | a4ea269f15221b266def81bbf62825979ecd6e44 (patch) | |
| tree | 6b2e91b41fee36fad4fe98724989da5731d92241 /llvm/lib/Target/NVPTX/NVPTXGenericToNVVM.cpp | |
| parent | 61743af166a9c24d7348f433153634d6ca8c8391 (diff) | |
| download | bcm5719-llvm-a4ea269f15221b266def81bbf62825979ecd6e44.tar.gz bcm5719-llvm-a4ea269f15221b266def81bbf62825979ecd6e44.zip | |
[Modules] Move ValueMap to the IR library. While this class does not
directly care about the Value class (it is templated so that the key can
be any arbitrary Value subclass), it is in fact concretely tied to the
Value class through the ValueHandle's CallbackVH interface which relies
on the key type being some Value subclass to establish the value handle
chain.
Ironically, the unittest is already in the right library.
llvm-svn: 202824
Diffstat (limited to 'llvm/lib/Target/NVPTX/NVPTXGenericToNVVM.cpp')
| -rw-r--r-- | llvm/lib/Target/NVPTX/NVPTXGenericToNVVM.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/NVPTX/NVPTXGenericToNVVM.cpp b/llvm/lib/Target/NVPTX/NVPTXGenericToNVVM.cpp index a211dba0c0f..860d9393574 100644 --- a/llvm/lib/Target/NVPTX/NVPTXGenericToNVVM.cpp +++ b/llvm/lib/Target/NVPTX/NVPTXGenericToNVVM.cpp @@ -15,7 +15,6 @@ #include "NVPTX.h" #include "MCTargetDesc/NVPTXBaseInfo.h" #include "NVPTXUtilities.h" -#include "llvm/ADT/ValueMap.h" #include "llvm/CodeGen/MachineFunctionAnalysis.h" #include "llvm/CodeGen/ValueTypes.h" #include "llvm/IR/Constants.h" @@ -25,6 +24,7 @@ #include "llvm/IR/Intrinsics.h" #include "llvm/IR/Module.h" #include "llvm/IR/Operator.h" +#include "llvm/IR/ValueMap.h" #include "llvm/PassManager.h" using namespace llvm; |

