[llvm-bugs] [Bug 51282] Type deduction loses alignment
via llvm-bugs
llvm-bugs at lists.llvm.org
Thu Nov 11 17:58:13 PST 2021
https://bugs.llvm.org/show_bug.cgi?id=51282
Matheus Izvekov <mizvekov at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Assignee|unassignedclangbugs at nondot. |mizvekov at gmail.com
|org |
Fixed By Commit(s)| |9b6036deedf28e10d797fc4ca73
| |4d57680d18053
Resolution|--- |FIXED
Status|NEW |RESOLVED
--- Comment #5 from Matheus Izvekov <mizvekov at gmail.com> ---
Fixed in main.
This is also working with return type deduction, this should work:
```
auto foo() { return int8x8_t(...); }
```
But the behavior is such that we will get the alignment only from the first
return statement in the function.
This is improved by https://reviews.llvm.org/D111283, which implements
reasonable behavior for the multiple return statements case.
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20211112/3439226e/attachment.html>
More information about the llvm-bugs
mailing list