Skip to content

Commit 9ba1121

Browse files
authored
[RISCV] Remove break after return in RISCVVEmitter.cpp. NFC (#161599)
1 parent b181c22 commit 9ba1121

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

clang/utils/TableGen/RISCVVEmitter.cpp

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -133,28 +133,20 @@ static BasicType ParseBasicType(char c) {
133133
switch (c) {
134134
case 'c':
135135
return BasicType::Int8;
136-
break;
137136
case 's':
138137
return BasicType::Int16;
139-
break;
140138
case 'i':
141139
return BasicType::Int32;
142-
break;
143140
case 'l':
144141
return BasicType::Int64;
145-
break;
146142
case 'x':
147143
return BasicType::Float16;
148-
break;
149144
case 'f':
150145
return BasicType::Float32;
151-
break;
152146
case 'd':
153147
return BasicType::Float64;
154-
break;
155148
case 'y':
156149
return BasicType::BFloat16;
157-
break;
158150
default:
159151
return BasicType::Unknown;
160152
}

0 commit comments

Comments
 (0)