diff options
author | Chris Lattner <sabre@nondot.org> | 2002-08-13 17:50:24 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2002-08-13 17:50:24 +0000 |
commit | 572f4a01a5b6d492330e40c06932da5c2bf5ea87 (patch) | |
tree | c035238f419fc5f9f55dcd4742b49de609193a61 /lib | |
parent | 9fb96412ae530963cae855ee2dd03da5719c7d6b (diff) | |
download | external_llvm-572f4a01a5b6d492330e40c06932da5c2bf5ea87.zip external_llvm-572f4a01a5b6d492330e40c06932da5c2bf5ea87.tar.gz external_llvm-572f4a01a5b6d492330e40c06932da5c2bf5ea87.tar.bz2 |
- Rename ConstantGenericIntegral -> ConstantIntegral
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3300 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Transforms/Scalar/InstructionCombining.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/Transforms/Scalar/InstructionCombining.cpp b/lib/Transforms/Scalar/InstructionCombining.cpp index 20c7dbe..e9344c1 100644 --- a/lib/Transforms/Scalar/InstructionCombining.cpp +++ b/lib/Transforms/Scalar/InstructionCombining.cpp @@ -288,7 +288,7 @@ Instruction *InstCombiner::visitAnd(BinaryOperator &I) { return ReplaceInstUsesWith(I, Op1); // and X, -1 == X - if (ConstantGenericIntegral *RHS = dyn_cast<ConstantGenericIntegral>(Op1)) + if (ConstantIntegral *RHS = dyn_cast<ConstantIntegral>(Op1)) if (RHS->isAllOnesValue()) return ReplaceInstUsesWith(I, Op0); @@ -306,7 +306,7 @@ Instruction *InstCombiner::visitOr(BinaryOperator &I) { return ReplaceInstUsesWith(I, Op0); // or X, -1 == -1 - if (ConstantGenericIntegral *RHS = dyn_cast<ConstantGenericIntegral>(Op1)) + if (ConstantIntegral *RHS = dyn_cast<ConstantIntegral>(Op1)) if (RHS->isAllOnesValue()) return ReplaceInstUsesWith(I, Op1); @@ -323,7 +323,7 @@ Instruction *InstCombiner::visitXor(BinaryOperator &I) { if (Op0 == Op1) return ReplaceInstUsesWith(I, Constant::getNullValue(I.getType())); - if (ConstantGenericIntegral *Op1C = dyn_cast<ConstantGenericIntegral>(Op1)) { + if (ConstantIntegral *Op1C = dyn_cast<ConstantIntegral>(Op1)) { // xor X, 0 == X if (Op1C->isNullValue()) return ReplaceInstUsesWith(I, Op0); |