Skip to content

Commit 89495f9

Browse files
committed
Fixup
1 parent 899c951 commit 89495f9

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

llvm/lib/Target/AArch64/AArch64AsmPrinter.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1370,9 +1370,8 @@ void AArch64AsmPrinter::emitFunctionEntryLabel() {
13701370
MF->getFunction().getCallingConv() ==
13711371
CallingConv::AArch64_SVE_VectorCall ||
13721372
MF->getInfo<AArch64FunctionInfo>()->isSVECC()) {
1373-
auto *TS =
1374-
static_cast<AArch64TargetStreamer *>(OutStreamer->getTargetStreamer());
1375-
if (TS)
1373+
if (auto *TS =
1374+
static_cast<AArch64TargetStreamer *>(OutStreamer->getTargetStreamer()))
13761375
TS->emitDirectiveVariantPCS(CurrentFnSym);
13771376
}
13781377

0 commit comments

Comments
 (0)