[llvm] r364376 - [ARM] Fix -Wimplicit-fallthrough after D60709/r364331
Fangrui Song via llvm-commits
llvm-commits at lists.llvm.org
Tue Jun 25 19:34:10 PDT 2019
Author: maskray
Date: Tue Jun 25 19:34:10 2019
New Revision: 364376
URL: http://llvm.org/viewvc/llvm-project?rev=364376&view=rev
Log:
[ARM] Fix -Wimplicit-fallthrough after D60709/r364331
Modified:
llvm/trunk/lib/Target/ARM/ARMISelLowering.cpp
Modified: llvm/trunk/lib/Target/ARM/ARMISelLowering.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/ARM/ARMISelLowering.cpp?rev=364376&r1=364375&r2=364376&view=diff
==============================================================================
--- llvm/trunk/lib/Target/ARM/ARMISelLowering.cpp (original)
+++ llvm/trunk/lib/Target/ARM/ARMISelLowering.cpp Tue Jun 25 19:34:10 2019
@@ -14095,10 +14095,10 @@ RCPair ARMTargetLowering::getRegForInlin
return RCPair(0U, &ARM::QPR_VFP2RegClass);
break;
}
+ break;
case 2:
- switch (Constraint[0]) {
- case 'T':
+ if (Constraint[0] == 'T') {
switch (Constraint[1]) {
default:
break;
@@ -14107,9 +14107,8 @@ RCPair ARMTargetLowering::getRegForInlin
case 'o':
return RCPair(0U, &ARM::tGPROddRegClass);
}
- default:
- break;
}
+ break;
default:
break;
More information about the llvm-commits
mailing list