[PATCH] D118804: Revert "[Clang] Propagate guaranteed alignment for malloc and others"
Dávid Bolvanský via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Feb 2 15:44:51 PST 2022
xbolva00 added a comment.
In D118804#3292179 <https://reviews.llvm.org/D118804#3292179>, @MaskRay wrote:
> In D118804#3292176 <https://reviews.llvm.org/D118804#3292176>, @xbolva00 wrote:
>
>>>> Reintroducing an optimization like this with an additional check that the allocation size is large enough should be valid everywhere.
>>
>> Should not be hard, could you do it? Then LGTM.
>
> @xbolva00 While I appreciate you contribution to the optimizations, I am not sure the burden of fixing a broken optimization lays on the issue reporter(s)... (quite a few now).
> The revert is the safest choice both for origin/main and the now created origin/release/14.x.
> If you are still motivated to improve the situation, you can contribute after the original broken patch is reverted...
I still think we can spend some more minutes to discuss it properly than rushing with revert.
Mozilla folks reported after 7-8 months in trunk? So we can spend day or two to discuss it properly.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D118804/new/
https://reviews.llvm.org/D118804
More information about the cfe-commits
mailing list