Skip to content

Commit

Permalink
[CodeGen] Temporary disable the unreachable
Browse files Browse the repository at this point in the history
It should be there, but we need all platforms that use stack protectors
to implement it first.
  • Loading branch information
bwendling committed Oct 17, 2023
1 parent c0f3478 commit 7dc644f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions llvm/include/llvm/CodeGen/TargetInstrInfo.h
Original file line number Diff line number Diff line change
Expand Up @@ -2100,8 +2100,12 @@ class TargetInstrInfo : public MCInstrInfo {
MachineBasicBlock::iterator Iter,
DebugLoc &DL,
bool AllowSideEffects = true) const {
#if 0
// FIXME: This should exist once all platforms that use stack protectors
// implements it.
llvm_unreachable(
"Target didn't implement TargetInstrInfo::buildClearRegister!");
#endif
}

/// Return true if the function can safely be outlined from.
Expand Down

0 comments on commit 7dc644f

Please sign in to comment.