diff options
author | Chandler Carruth <chandlerc@gmail.com> | 2014-03-04 12:24:34 +0000 |
---|---|---|
committer | Chandler Carruth <chandlerc@gmail.com> | 2014-03-04 12:24:34 +0000 |
commit | 8cd041ef195abc0d500c26fb08db123eacb60c1a (patch) | |
tree | 9184c43a59b1560b4e611e420baddd318efd91d5 /llvm/lib/IR/Metadata.cpp | |
parent | 3e8467b8b985efcd11c667d50efa69920cd3b108 (diff) | |
download | bcm5719-llvm-8cd041ef195abc0d500c26fb08db123eacb60c1a.tar.gz bcm5719-llvm-8cd041ef195abc0d500c26fb08db123eacb60c1a.zip |
[Modules] Move the ConstantRange class into the IR library. This is
a bit surprising, as the class is almost entirely abstracted away from
any particular IR, however it encodes the comparsion predicates which
mutate ranges as ICmp predicate codes. This is reasonable as they're
used for both instructions and constants. Thus, it belongs in the IR
library with instructions and constants.
llvm-svn: 202838
Diffstat (limited to 'llvm/lib/IR/Metadata.cpp')
-rw-r--r-- | llvm/lib/IR/Metadata.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/IR/Metadata.cpp b/llvm/lib/IR/Metadata.cpp index 512dec196f2..d46eec69f58 100644 --- a/llvm/lib/IR/Metadata.cpp +++ b/llvm/lib/IR/Metadata.cpp @@ -19,11 +19,11 @@ #include "llvm/ADT/SmallSet.h" #include "llvm/ADT/SmallString.h" #include "llvm/ADT/StringMap.h" +#include "llvm/IR/ConstantRange.h" #include "llvm/IR/Instruction.h" #include "llvm/IR/LLVMContext.h" #include "llvm/IR/Module.h" #include "llvm/IR/ValueHandle.h" -#include "llvm/Support/ConstantRange.h" #include "llvm/Support/LeakDetector.h" using namespace llvm; |