diff options
author | Justin Bogner <mail@justinbogner.com> | 2016-08-17 20:30:52 +0000 |
---|---|---|
committer | Justin Bogner <mail@justinbogner.com> | 2016-08-17 20:30:52 +0000 |
commit | cd1d5aaf2e317122ddb08bf8d026a6cf8b42a9d8 (patch) | |
tree | a7454511a28342557b6b2722f014529f399ecffe /llvm/lib/Analysis/ValueTracking.cpp | |
parent | de3aea04129bcde27b025e4619519b4ff01be226 (diff) | |
download | llvm-cd1d5aaf2e317122ddb08bf8d026a6cf8b42a9d8.zip llvm-cd1d5aaf2e317122ddb08bf8d026a6cf8b42a9d8.tar.gz llvm-cd1d5aaf2e317122ddb08bf8d026a6cf8b42a9d8.tar.bz2 |
Replace a few more "fall through" comments with LLVM_FALLTHROUGH
Follow up to r278902. I had missed "fall through", with a space.
llvm-svn: 278970
Diffstat (limited to 'llvm/lib/Analysis/ValueTracking.cpp')
-rw-r--r-- | llvm/lib/Analysis/ValueTracking.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/llvm/lib/Analysis/ValueTracking.cpp b/llvm/lib/Analysis/ValueTracking.cpp index 41a9243..48305f4 100644 --- a/llvm/lib/Analysis/ValueTracking.cpp +++ b/llvm/lib/Analysis/ValueTracking.cpp @@ -1012,7 +1012,8 @@ static void computeKnownBitsFromOperator(const Operator *I, APInt &KnownZero, case Instruction::PtrToInt: case Instruction::IntToPtr: case Instruction::AddrSpaceCast: // Pointers could be different sizes. - // FALL THROUGH and handle them the same as zext/trunc. + // Fall through and handle them the same as zext/trunc. + LLVM_FALLTHROUGH; case Instruction::ZExt: case Instruction::Trunc: { Type *SrcTy = I->getOperand(0)->getType(); @@ -2559,7 +2560,7 @@ bool llvm::CannotBeOrderedLessThanZero(const Value *V, // x*x is always non-negative or a NaN. if (I->getOperand(0) == I->getOperand(1)) return true; - // Fall through + LLVM_FALLTHROUGH; case Instruction::FAdd: case Instruction::FDiv: case Instruction::FRem: |