From 6013f45f920f8b208e945007697a5601f6f956fc Mon Sep 17 00:00:00 2001 From: Vedant Kumar Date: Fri, 22 Apr 2016 06:51:37 +0000 Subject: Revert "Initial implementation of optimization bisect support." This reverts commit r267022, due to an ASan failure: http://lab.llvm.org:8080/green/job/clang-stage2-cmake-RgSan_check/1549 llvm-svn: 267115 --- llvm/lib/CodeGen/TailDuplication.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'llvm/lib/CodeGen/TailDuplication.cpp') diff --git a/llvm/lib/CodeGen/TailDuplication.cpp b/llvm/lib/CodeGen/TailDuplication.cpp index 2b1fb127497..4831c6a86c2 100644 --- a/llvm/lib/CodeGen/TailDuplication.cpp +++ b/llvm/lib/CodeGen/TailDuplication.cpp @@ -44,7 +44,7 @@ INITIALIZE_PASS(TailDuplicatePass, "tailduplication", "Tail Duplication", false, false) bool TailDuplicatePass::runOnMachineFunction(MachineFunction &MF) { - if (skipFunction(*MF.getFunction())) + if (skipOptnoneFunction(*MF.getFunction())) return false; auto MMI = getAnalysisIfAvailable(); -- cgit v1.2.3