diff --git a/llvm/include/llvm/CodeGen/MachineScheduler.h b/llvm/include/llvm/CodeGen/MachineScheduler.h index 486508e760dc5..e7a7091acee64 100644 --- a/llvm/include/llvm/CodeGen/MachineScheduler.h +++ b/llvm/include/llvm/CodeGen/MachineScheduler.h @@ -1403,7 +1403,7 @@ createCopyConstrainDAGMutation(const TargetInstrInfo *TII, /// default scheduler if the target does not set a default. /// Adds default DAG mutations. template -LLVM_ABI ScheduleDAGMILive *createSchedLive(MachineSchedContext *C) { +ScheduleDAGMILive *createSchedLive(MachineSchedContext *C) { ScheduleDAGMILive *DAG = new ScheduleDAGMILive(C, std::make_unique(C)); // Register DAG post-processors. @@ -1423,7 +1423,7 @@ LLVM_ABI ScheduleDAGMILive *createSchedLive(MachineSchedContext *C) { /// Create a generic scheduler with no vreg liveness or DAG mutation passes. template -LLVM_ABI ScheduleDAGMI *createSchedPostRA(MachineSchedContext *C) { +ScheduleDAGMI *createSchedPostRA(MachineSchedContext *C) { ScheduleDAGMI *DAG = new ScheduleDAGMI(C, std::make_unique(C), /*RemoveKillFlags=*/true); const TargetSubtargetInfo &STI = C->MF->getSubtarget(); diff --git a/llvm/include/llvm/MC/MCExpr.h b/llvm/include/llvm/MC/MCExpr.h index 4ec780d8ff94f..8d66ed22875df 100644 --- a/llvm/include/llvm/MC/MCExpr.h +++ b/llvm/include/llvm/MC/MCExpr.h @@ -514,10 +514,10 @@ class LLVM_ABI MCSpecifierExpr : public MCExpr { : MCExpr(Specifier, Loc), Expr(Expr), specifier(S) {} public: - LLVM_ABI static const MCSpecifierExpr * - create(const MCExpr *Expr, Spec S, MCContext &Ctx, SMLoc Loc = SMLoc()); - LLVM_ABI static const MCSpecifierExpr * - create(const MCSymbol *Sym, Spec S, MCContext &Ctx, SMLoc Loc = SMLoc()); + static const MCSpecifierExpr *create(const MCExpr *Expr, Spec S, + MCContext &Ctx, SMLoc Loc = SMLoc()); + static const MCSpecifierExpr *create(const MCSymbol *Sym, Spec S, + MCContext &Ctx, SMLoc Loc = SMLoc()); Spec getSpecifier() const { return specifier; } const MCExpr *getSubExpr() const { return Expr; }