File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed
llvm/lib/Transforms/Instrumentation Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -1549,15 +1549,16 @@ struct MemorySanitizerVisitor : public InstVisitor<MemorySanitizerVisitor> {
15491549 if (!isa<TargetExtType>(Ty))
15501550 return false ;
15511551
1552- TargetExtType* TTy = cast<TargetExtType>(Ty);
1552+ TargetExtType * TTy = cast<TargetExtType>(Ty);
15531553 return TTy->getName () == " aarch64.svcount" ;
15541554 }
15551555
15561556 // This is intended to match the "AArch64 Predicate-as-Counter Type" (aka
15571557 // 'target("aarch64.svcount")', but not e.g., <vscale x 4 x i32>.
15581558 static bool isScalableNonVectorType (Type *Ty) {
15591559 if (!isAArch64SVCount (Ty))
1560- LLVM_DEBUG (dbgs () << " isScalableNonVectorType: Unexpected type " << *Ty << " \n " );
1560+ LLVM_DEBUG (dbgs () << " isScalableNonVectorType: Unexpected type " << *Ty
1561+ << " \n " );
15611562
15621563 return Ty->isScalableTy () && !isa<VectorType>(Ty);
15631564 }
@@ -1694,8 +1695,9 @@ struct MemorySanitizerVisitor : public InstVisitor<MemorySanitizerVisitor> {
16941695 LLVM_DEBUG (dbgs () << " getShadowTy: " << *ST << " ===> " << *Res << " \n " );
16951696 return Res;
16961697 }
1697- if (isScalableNonVectorType (OrigTy)){
1698- LLVM_DEBUG (dbgs () << " getShadowTy: Scalable non-vector type: " << *OrigTy << " \n " );
1698+ if (isScalableNonVectorType (OrigTy)) {
1699+ LLVM_DEBUG (dbgs () << " getShadowTy: Scalable non-vector type: " << *OrigTy
1700+ << " \n " );
16991701 return OrigTy;
17001702 }
17011703
You can’t perform that action at this time.
0 commit comments