[PATCH] D57187: [GlobalISel] Add ISel support for @llvm.lifetime.start and @llvm.lifetime.end for opt levels above O0
Jessica Paquette via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jan 24 13:39:31 PST 2019
paquette created this revision.
paquette added reviewers: aemerson, dsanders, aditya_nandakumar.
Herald added subscribers: volkan, mstorsjo, jfb, kristof.beyls, javed.absar, rovka.
This adds instruction selection support for lifetime markers. It also updates the arm64-irtranslator test, and updates some AArch64 tests that use them for added coverage. It also adds a testcase taken from the X86 codegen tests which verified a bug caused by lifetime markers + stack colouring in the past. This is intended to make sure that GISel doesn't re-introduce the bug.
(This is basically a straight copy from what SelectionDAG does in SelectionDAGBuilder.cpp)
https://reviews.llvm.org/D57187
Files:
lib/CodeGen/GlobalISel/IRTranslator.cpp
test/CodeGen/AArch64/GlobalISel/arm64-irtranslator.ll
test/CodeGen/AArch64/GlobalISel/dynamic-alloca-lifetime.ll
test/CodeGen/AArch64/mingw-refptr.ll
test/CodeGen/AArch64/stack_guard_remat.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D57187.183382.patch
Type: text/x-patch
Size: 8172 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190124/25b0990b/attachment.bin>
More information about the llvm-commits
mailing list