diff options
| author | Fangrui Song <maskray@google.com> | 2019-06-26 02:34:10 +0000 |
|---|---|---|
| committer | Fangrui Song <maskray@google.com> | 2019-06-26 02:34:10 +0000 |
| commit | 6a4c68e1874735cac47af4611abce57d0626d7e1 (patch) | |
| tree | 32fe5d3023772b41af17a0b4ea378c040b7a33f5 /llvm/lib/Target/ARM/ARMISelLowering.cpp | |
| parent | 69822ae106002022e3764dbc07b004d3bb521611 (diff) | |
| download | bcm5719-llvm-6a4c68e1874735cac47af4611abce57d0626d7e1.tar.gz bcm5719-llvm-6a4c68e1874735cac47af4611abce57d0626d7e1.zip | |
[ARM] Fix -Wimplicit-fallthrough after D60709/r364331
llvm-svn: 364376
Diffstat (limited to 'llvm/lib/Target/ARM/ARMISelLowering.cpp')
| -rw-r--r-- | llvm/lib/Target/ARM/ARMISelLowering.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/llvm/lib/Target/ARM/ARMISelLowering.cpp b/llvm/lib/Target/ARM/ARMISelLowering.cpp index 68a6365f976..edf5090cf54 100644 --- a/llvm/lib/Target/ARM/ARMISelLowering.cpp +++ b/llvm/lib/Target/ARM/ARMISelLowering.cpp @@ -14095,10 +14095,10 @@ RCPair ARMTargetLowering::getRegForInlineAsmConstraint( 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::getRegForInlineAsmConstraint( case 'o': return RCPair(0U, &ARM::tGPROddRegClass); } - default: - break; } + break; default: break; |

