[PATCH] D76886: [InlineFunction] Disable emission of alignment assumptions by default
Nikita Popov via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Apr 30 14:00:25 PDT 2020
nikic added a comment.
@rampitec Thanks. I guess that means the situation here is somewhat worse for targets that use address spaces. As we cannot assume that an addrspace cast preserves alignment (as far as I know), we will end up inserting the alignment assumptions in much more cases. On targets that do not use address spaces, we would not insert these assumptions for allocas, and thus sidestep the issue.
I've submitted https://bugs.llvm.org/show_bug.cgi?id=45763 to make sure the SROA issue is tracked somewhere.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D76886/new/
https://reviews.llvm.org/D76886
More information about the llvm-commits
mailing list