llvm.org GIT mirror llvm / 1289f80
[Arm] Fix -Wimplicit-fallthrough warnings. NFCI. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@307375 91177308-0d34-0410-b5e6-96231b3b80d8 Simon Pilgrim 3 years ago
2 changed file(s) with 6 addition(s) and 5 deletion(s). Raw diff Collapse all Expand all
53555355 // Integer comparisons.
53565356 switch (SetCCOpcode) {
53575357 default: llvm_unreachable("Illegal integer comparison");
5358 case ISD::SETNE: Invert = true;
5358 case ISD::SETNE: Invert = true; LLVM_FALLTHROUGH;
53595359 case ISD::SETEQ: Opc = ARMISD::VCEQ; break;
5360 case ISD::SETLT: Swap = true;
5360 case ISD::SETLT: Swap = true; LLVM_FALLTHROUGH;
53615361 case ISD::SETGT: Opc = ARMISD::VCGT; break;
5362 case ISD::SETLE: Swap = true;
5362 case ISD::SETLE: Swap = true; LLVM_FALLTHROUGH;
53635363 case ISD::SETGE: Opc = ARMISD::VCGE; break;
5364 case ISD::SETULT: Swap = true;
5364 case ISD::SETULT: Swap = true; LLVM_FALLTHROUGH;
53655365 case ISD::SETUGT: Opc = ARMISD::VCGTU; break;
5366 case ISD::SETULE: Swap = true;
5366 case ISD::SETULE: Swap = true; LLVM_FALLTHROUGH;
53675367 case ISD::SETUGE: Opc = ARMISD::VCGEU; break;
53685368 }
53695369
52485248
52495249 // Fall though for the Identifier case that is not a register or a
52505250 // special name.
5251 LLVM_FALLTHROUGH;
52515252 }
52525253 case AsmToken::LParen: // parenthesized expressions like (_strcmp-4)
52535254 case AsmToken::Integer: // things like 1f and 2b as a branch targets