diff options
author | Petar Jovanovic <petar.jovanovic@imgtec.com> | 2017-11-01 23:05:52 +0000 |
---|---|---|
committer | Petar Jovanovic <petar.jovanovic@imgtec.com> | 2017-11-01 23:05:52 +0000 |
commit | bb5c84fb5747ddaf867a5da2ddb6a37a0dbb5dd5 (patch) | |
tree | 945378246ed6dc51ce48c7d67c627e545cdebcda /llvm/lib/CodeGen/TailDuplicator.cpp | |
parent | 789164d4262b4132e074fadd6e1df8328618e30e (diff) | |
download | bcm5719-llvm-bb5c84fb5747ddaf867a5da2ddb6a37a0dbb5dd5.tar.gz bcm5719-llvm-bb5c84fb5747ddaf867a5da2ddb6a37a0dbb5dd5.zip |
Revert "Correct dwarf unwind information in function epilogue for X86"
This reverts r317100 as it introduced sanitizer-x86_64-linux-autoconf
buildbot failure (build #15606).
llvm-svn: 317136
Diffstat (limited to 'llvm/lib/CodeGen/TailDuplicator.cpp')
-rw-r--r-- | llvm/lib/CodeGen/TailDuplicator.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/TailDuplicator.cpp b/llvm/lib/CodeGen/TailDuplicator.cpp index 93b53c3a1cd..bd3a20f936d 100644 --- a/llvm/lib/CodeGen/TailDuplicator.cpp +++ b/llvm/lib/CodeGen/TailDuplicator.cpp @@ -603,8 +603,8 @@ bool TailDuplicator::shouldTailDuplicate(bool IsSimple, if (PreRegAlloc && MI.isCall()) return false; - if (!MI.isPHI() && !MI.isMetaInstruction()) - InstrCount += 1; + if (!MI.isPHI() && !MI.isDebugValue()) + InstrCount += 1; if (InstrCount > MaxDuplicateCount) return false; |