diff options
author | Chris Lattner <sabre@nondot.org> | 2010-06-26 21:52:32 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-06-26 21:52:32 +0000 |
commit | 7f215c12af4c3e7f81b24102a676aabfdb4e1566 (patch) | |
tree | 55a24deb60276747a4c968a7c9b69accef36f761 /lib/CodeGen/CGExprScalar.cpp | |
parent | 9a20723df5904f2da9e4da14bf127366609b5cd8 (diff) |
use more efficient type comparison predicates.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@106958 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGExprScalar.cpp')
-rw-r--r-- | lib/CodeGen/CGExprScalar.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/CGExprScalar.cpp b/lib/CodeGen/CGExprScalar.cpp index 773eb09bb6..c5bc320727 100644 --- a/lib/CodeGen/CGExprScalar.cpp +++ b/lib/CodeGen/CGExprScalar.cpp @@ -1424,7 +1424,7 @@ Value *ScalarExprEmitter::EmitAdd(const BinOpInfo &Ops) { return Builder.CreateAdd(Ops.LHS, Ops.RHS, "add"); } - // Must have binary (not unary) expr here. Unary pointer increment doesn't + // Must have binary (not unary) expr here. Unary pointer decrement doesn't // use this path. const BinaryOperator *BinOp = cast<BinaryOperator>(Ops.E); |