summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/InstCombine/InstCombineCasts.cpp
diff options
context:
space:
mode:
authorJustin Bogner <mail@justinbogner.com>2016-08-05 01:09:48 +0000
committerJustin Bogner <mail@justinbogner.com>2016-08-05 01:09:48 +0000
commitc7e4fbe11c820c344695f76bf21d316956822bd9 (patch)
treec8a2d20114a3350f43115c33365c841ca5a63ff6 /llvm/lib/Transforms/InstCombine/InstCombineCasts.cpp
parent9979840f59b3db81910cfc4cccf61ddf2159faab (diff)
downloadbcm5719-llvm-c7e4fbe11c820c344695f76bf21d316956822bd9.tar.gz
bcm5719-llvm-c7e4fbe11c820c344695f76bf21d316956822bd9.zip
InstCombine: Clean up some trailing whitespace. NFC
llvm-svn: 277793
Diffstat (limited to 'llvm/lib/Transforms/InstCombine/InstCombineCasts.cpp')
-rw-r--r--llvm/lib/Transforms/InstCombine/InstCombineCasts.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/Transforms/InstCombine/InstCombineCasts.cpp b/llvm/lib/Transforms/InstCombine/InstCombineCasts.cpp
index aec06f2b746..926019e9341 100644
--- a/llvm/lib/Transforms/InstCombine/InstCombineCasts.cpp
+++ b/llvm/lib/Transforms/InstCombine/InstCombineCasts.cpp
@@ -450,13 +450,13 @@ Instruction *InstCombiner::visitTrunc(TruncInst &CI) {
// Test if the trunc is the user of a select which is part of a
// minimum or maximum operation. If so, don't do any more simplification.
- // Even simplifying demanded bits can break the canonical form of a
+ // Even simplifying demanded bits can break the canonical form of a
// min/max.
Value *LHS, *RHS;
if (SelectInst *SI = dyn_cast<SelectInst>(CI.getOperand(0)))
if (matchSelectPattern(SI, LHS, RHS).Flavor != SPF_UNKNOWN)
return nullptr;
-
+
// See if we can simplify any instructions used by the input whose sole
// purpose is to compute bits we don't care about.
if (SimplifyDemandedInstructionBits(CI))
@@ -1104,7 +1104,7 @@ Instruction *InstCombiner::visitSExt(SExtInst &CI) {
Type *SrcTy = Src->getType(), *DestTy = CI.getType();
// If we know that the value being extended is positive, we can use a zext
- // instead.
+ // instead.
bool KnownZero, KnownOne;
ComputeSignBit(Src, KnownZero, KnownOne, 0, &CI);
if (KnownZero) {
OpenPOWER on IntegriCloud