diff --git a/llvm/include/llvm/CodeGen/TargetInstrInfo.h b/llvm/include/llvm/CodeGen/TargetInstrInfo.h index 6c3e02b2f59405..8e7499ac626a74 100644 --- a/llvm/include/llvm/CodeGen/TargetInstrInfo.h +++ b/llvm/include/llvm/CodeGen/TargetInstrInfo.h @@ -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.