[PATCH] D76673: [Attributor][FIX] Prevent alignment breakage wrt. must-tail calls
Johannes Doerfert via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Mar 24 00:30:43 PDT 2020
jdoerfert created this revision.
jdoerfert added reviewers: lebedev.ri, uenoku, sstefan1, baziotis.
Herald added subscribers: bollu, hiraditya.
Herald added a project: LLVM.
If we have a must-tail call the callee and caller need to have matching
ABIs. Part of that is alignment which we might modify when we deduce
alignment of arguments of either. Since we would need to keep them in
sync, which is not as simple, we simply avoid deducing alignment for
arguments of the must-tail caller or callee.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D76673
Files:
llvm/include/llvm/Transforms/IPO/Attributor.h
llvm/lib/Transforms/IPO/Attributor.cpp
llvm/test/Transforms/Attributor/ArgumentPromotion/musttail.ll
llvm/test/Transforms/Attributor/align.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D76673.252234.patch
Type: text/x-patch
Size: 5905 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200324/840b7cb9/attachment.bin>
More information about the llvm-commits
mailing list