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/Utils/SimplifyCFG.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/Utils/SimplifyCFG.cpp')
| -rw-r--r-- | llvm/lib/Transforms/Utils/SimplifyCFG.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/Utils/SimplifyCFG.cpp b/llvm/lib/Transforms/Utils/SimplifyCFG.cpp index 795b6bfd6ed..2215059a5f5 100644 --- a/llvm/lib/Transforms/Utils/SimplifyCFG.cpp +++ b/llvm/lib/Transforms/Utils/SimplifyCFG.cpp @@ -1077,7 +1077,7 @@ static bool FoldCondBranchOnPHI(BranchInst *BI) { for (unsigned i = 0, e = PN->getNumIncomingValues(); i != e; ++i) { ConstantInt *CB; if ((CB = dyn_cast<ConstantInt>(PN->getIncomingValue(i))) && - CB->getType()->isInteger(1)) { + CB->getType()->isIntegerTy(1)) { // Okay, we now know that all edges from PredBB should be revectored to // branch to RealDest. BasicBlock *PredBB = PN->getIncomingBlock(i); |

