diff options
author | Richard Smith <richard-llvm@metafoo.co.uk> | 2012-08-25 05:43:00 +0000 |
---|---|---|
committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2012-08-25 05:43:00 +0000 |
commit | 5b092ef9df6967bac9cf856e8c93dd959ebdb689 (patch) | |
tree | 454cf9ab416fdec4446de2f360a50f029d190b81 /lib/CodeGen/CGExprScalar.cpp | |
parent | 6c4590f3470df97deb6150652d40155b20466ef7 (diff) |
Remove spurious string literal for bool argument.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@162642 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 dd5af526eb..f304317756 100644 --- a/lib/CodeGen/CGExprScalar.cpp +++ b/lib/CodeGen/CGExprScalar.cpp @@ -2123,7 +2123,7 @@ Value *ScalarExprEmitter::EmitShl(const BinOpInfo &Ops) { llvm::BasicBlock *Cont = CGF.createBasicBlock("shl.cont"); llvm::BasicBlock *Trap = CGF.getTrapBB(); llvm::Value *WidthMinusOne = - llvm::ConstantInt::get(RHS->getType(), Width - 1, "shl.width"); + llvm::ConstantInt::get(RHS->getType(), Width - 1); CGF.Builder.CreateCondBr(Builder.CreateICmpULE(RHS, WidthMinusOne), Cont, Trap); CGF.EmitBlock(Cont); |