File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -329,11 +329,11 @@ class FPMathOperator : public Operator {
329
329
// / Returns true if `Ty` is a supported floating-point type for phi, select,
330
330
// / or call FPMathOperators.
331
331
static bool isSupportedFloatingPointType (Type *Ty) {
332
- if (StructType *StructTy = dyn_cast<StructType>(Ty)) {
332
+ if (auto *StructTy = dyn_cast<StructType>(Ty)) {
333
333
if (!StructTy->isLiteral () || !StructTy->containsHomogeneousTypes ())
334
334
return false ;
335
335
Ty = StructTy->elements ().front ();
336
- } else if (ArrayType *ArrayTy = dyn_cast<ArrayType>(Ty)) {
336
+ } else if (auto *ArrayTy = dyn_cast<ArrayType>(Ty)) {
337
337
do {
338
338
Ty = ArrayTy->getElementType ();
339
339
} while ((ArrayTy = dyn_cast<ArrayType>(Ty)));
You can’t perform that action at this time.
0 commit comments