Skip to content

Commit

Permalink
Remove unused function
Browse files Browse the repository at this point in the history
  • Loading branch information
LucasSte committed Jan 15, 2025
1 parent 93f96e7 commit c465588
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions llvm/lib/Target/SBF/SBFISelLowering.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -39,18 +39,6 @@ static void fail(const SDLoc &DL, SelectionDAG &DAG, const Twine &Msg) {
DiagnosticInfoUnsupported(MF.getFunction(), Msg, DL.getDebugLoc()));
}

static void fail(const SDLoc &DL, SelectionDAG &DAG, const char *Msg,
SDValue Val) {
MachineFunction &MF = DAG.getMachineFunction();
std::string Str;
raw_string_ostream OS(Str);
OS << Msg;
Val->print(OS);
OS.flush();
DAG.getContext()->diagnose(
DiagnosticInfoUnsupported(MF.getFunction(), Str, DL.getDebugLoc()));
}

SBFTargetLowering::SBFTargetLowering(const TargetMachine &TM,
const SBFSubtarget &STI)
: TargetLowering(TM), Subtarget(&STI) {
Expand Down

0 comments on commit c465588

Please sign in to comment.