From d6a36ae282ba22fbe2cd73ec40b660fb6c480c6b Mon Sep 17 00:00:00 2001 From: Matthias Braun Date: Wed, 31 May 2017 18:41:23 +0000 Subject: TargetMachine: Indicate whether machine verifier passes. This adds a callback to the LLVMTargetMachine that lets target indicate that they do not pass the machine verifier checks in all cases yet. This is intended to be a temporary measure while the targets are fixed allowing us to enable the machine verifier by default with EXPENSIVE_CHECKS enabled! Differential Revision: https://reviews.llvm.org/D33696 llvm-svn: 304320 --- llvm/lib/Target/AVR/AVRTargetMachine.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'llvm/lib/Target/AVR') diff --git a/llvm/lib/Target/AVR/AVRTargetMachine.h b/llvm/lib/Target/AVR/AVRTargetMachine.h index 10345193d14..795e94e6af0 100644 --- a/llvm/lib/Target/AVR/AVRTargetMachine.h +++ b/llvm/lib/Target/AVR/AVRTargetMachine.h @@ -41,6 +41,10 @@ public: TargetPassConfig *createPassConfig(PassManagerBase &PM) override; + bool isMachineVerifierClean() const override { + return false; + } + private: std::unique_ptr TLOF; AVRSubtarget SubTarget; -- cgit v1.2.3