diff options
| author | Duncan Sands <baldrick@free.fr> | 2010-02-15 16:12:20 +0000 |
|---|---|---|
| committer | Duncan Sands <baldrick@free.fr> | 2010-02-15 16:12:20 +0000 |
| commit | 9dff9bec316a5027e3fd7ae292a74f278f0fe95d (patch) | |
| tree | b0d7ba54e1a43072e5d05e5a6656f5d783c271ee /llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp | |
| parent | 37b3c48ef7d962dcdd074105d35dabbcd934c39b (diff) | |
| download | bcm5719-llvm-9dff9bec316a5027e3fd7ae292a74f278f0fe95d.tar.gz bcm5719-llvm-9dff9bec316a5027e3fd7ae292a74f278f0fe95d.zip | |
Uniformize the names of type predicates: rather than having isFloatTy and
isInteger, we now have isFloatTy and isIntegerTy. Requested by Chris!
llvm-svn: 96223
Diffstat (limited to 'llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp')
| -rw-r--r-- | llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp b/llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp index e501ddc4b85..d7efdcfa3bf 100644 --- a/llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp +++ b/llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp @@ -199,7 +199,7 @@ Instruction *InstCombiner::SimplifyMemSet(MemSetInst *MI) { // Extract the length and alignment and fill if they are constant. ConstantInt *LenC = dyn_cast<ConstantInt>(MI->getLength()); ConstantInt *FillC = dyn_cast<ConstantInt>(MI->getValue()); - if (!LenC || !FillC || !FillC->getType()->isInteger(8)) + if (!LenC || !FillC || !FillC->getType()->isIntegerTy(8)) return 0; uint64_t Len = LenC->getZExtValue(); Alignment = MI->getAlignment(); |

