[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:04:57 PDT 2021
xbolva00 created this revision.
xbolva00 added a reviewer: jdoerfert.
Herald added a subscriber: hiraditya.
xbolva00 requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
LLVM should be smarter about *known* malloc's alignment and this knowledge may enable other optimizations.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D100862
Files:
llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp
llvm/test/Transforms/InstCombine/deref-alloc-fns.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D100862.338888.patch
Type: text/x-patch
Size: 24029 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210420/0cb4f8e0/attachment.bin>
More information about the llvm-commits
mailing list