summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/AMDGPU
diff options
context:
space:
mode:
authorMatthias Braun <matze@braunis.de>2017-05-31 18:41:23 +0000
committerMatthias Braun <matze@braunis.de>2017-05-31 18:41:23 +0000
commitd6a36ae282ba22fbe2cd73ec40b660fb6c480c6b (patch)
tree92c7236b4494751bc1691a4a86ce798a8992dff0 /llvm/lib/Target/AMDGPU
parent53b34c844339c5c43cfab22d2f7160ad40f9512c (diff)
downloadbcm5719-llvm-d6a36ae282ba22fbe2cd73ec40b660fb6c480c6b.tar.gz
bcm5719-llvm-d6a36ae282ba22fbe2cd73ec40b660fb6c480c6b.zip
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
Diffstat (limited to 'llvm/lib/Target/AMDGPU')
-rw-r--r--llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.h b/llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.h
index 934bf7f31ba..a3c7c1982d0 100644
--- a/llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.h
+++ b/llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.h
@@ -69,7 +69,6 @@ public:
return -1;
return 0;
}
-
};
//===----------------------------------------------------------------------===//
@@ -89,6 +88,10 @@ public:
TargetPassConfig *createPassConfig(PassManagerBase &PM) override;
const R600Subtarget *getSubtargetImpl(const Function &) const override;
+
+ bool isMachineVerifierClean() const override {
+ return false;
+ }
};
//===----------------------------------------------------------------------===//
OpenPOWER on IntegriCloud