[PATCH] D100862: [InstCombine] Teach LLVM about guaranteed alignment for malloc and others

Dávid Bolvanský via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 20 09:33:42 PDT 2021


xbolva00 added a comment.

In D100862#2702017 <https://reviews.llvm.org/D100862#2702017>, @lebedev.ri wrote:

> I do not believe we should be doing this in LLVM middle-end.

Yeah. But on the other side, LLVM already does a lot ot work with libcalls and attrs (it should be Clang job, but...).

But yes, doing this in Clang seems to be a better idea.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D100862/new/

https://reviews.llvm.org/D100862



More information about the llvm-commits mailing list