[PATCH] D40979: [DWARF] Allow duplication of tails with CFI instructions
Djordje Kovacevic via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Dec 7 12:00:33 PST 2017
djokov created this revision.
Herald added subscribers: JDevlieghere, javed.absar.
This commit came as a result for revert of patch r317579 (originally committed as r317100). The patch made CFI instructions duplicable, because their existence in the epilogue block was affecting the Tail duplication pass. However, duplicating blocks with CFI instructions was an issue for compact unwind info on Darwin, which is why the patch was reverted.
This patch allows duplicating tails with CFI instructions, though they are not duplicable, by copying them 'manually'.
Repository:
rL LLVM
https://reviews.llvm.org/D40979
Files:
lib/CodeGen/TailDuplicator.cpp
test/CodeGen/AArch64/taildup-cfi.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D40979.126014.patch
Type: text/x-patch
Size: 9150 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171207/349fb922/attachment.bin>
More information about the llvm-commits
mailing list