aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/TargetLoweringBase.cpp
diff options
context:
space:
mode:
authorGalina Kistanova <gkistanova@gmail.com>2017-06-03 05:11:14 +0000
committerGalina Kistanova <gkistanova@gmail.com>2017-06-03 05:11:14 +0000
commitbd79f73f02556ca62e28774c7119806049c80d54 (patch)
treecef0bb7a0afa6171acc0d50b879314fdd2cd31d1 /llvm/lib/CodeGen/TargetLoweringBase.cpp
parent9e15f3592a96cf953086f72dcbae637cdf91af68 (diff)
downloadllvm-bd79f73f02556ca62e28774c7119806049c80d54.zip
llvm-bd79f73f02556ca62e28774c7119806049c80d54.tar.gz
llvm-bd79f73f02556ca62e28774c7119806049c80d54.tar.bz2
Added LLVM_FALLTHROUGH to address warning: this statement may fall through. NFC.
llvm-svn: 304635
Diffstat (limited to 'llvm/lib/CodeGen/TargetLoweringBase.cpp')
-rw-r--r--llvm/lib/CodeGen/TargetLoweringBase.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/TargetLoweringBase.cpp b/llvm/lib/CodeGen/TargetLoweringBase.cpp
index 900c031..c43a5e18 100644
--- a/llvm/lib/CodeGen/TargetLoweringBase.cpp
+++ b/llvm/lib/CodeGen/TargetLoweringBase.cpp
@@ -1456,6 +1456,7 @@ void TargetLoweringBase::computeRegisterProperties(
}
if (IsLegalWiderType)
break;
+ LLVM_FALLTHROUGH;
}
case TypeWidenVector: {
// Try to widen the vector.
@@ -1473,6 +1474,7 @@ void TargetLoweringBase::computeRegisterProperties(
}
if (IsLegalWiderType)
break;
+ LLVM_FALLTHROUGH;
}
case TypeSplitVector:
case TypeScalarizeVector: {