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/Instructions.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/Instructions.cpp')
-rw-r--r-- | llvm/lib/IR/Instructions.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/IR/Instructions.cpp b/llvm/lib/IR/Instructions.cpp index 9cdc60809b4..c89365fcda6 100644 --- a/llvm/lib/IR/Instructions.cpp +++ b/llvm/lib/IR/Instructions.cpp @@ -15,13 +15,13 @@ #include "llvm/IR/Instructions.h" #include "LLVMContextImpl.h" #include "llvm/IR/CallSite.h" +#include "llvm/IR/ConstantRange.h" #include "llvm/IR/Constants.h" #include "llvm/IR/DataLayout.h" #include "llvm/IR/DerivedTypes.h" #include "llvm/IR/Function.h" #include "llvm/IR/Module.h" #include "llvm/IR/Operator.h" -#include "llvm/Support/ConstantRange.h" #include "llvm/Support/ErrorHandling.h" #include "llvm/Support/MathExtras.h" using namespace llvm; |