[PATCH] D121642: InstCombineCalls: when adding an align attribute, never reduce it
Augie Fackler via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Mar 14 14:25:52 PDT 2022
durin42 created this revision.
Herald added a subscriber: hiraditya.
Herald added a project: All.
durin42 requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
Sometimes we can infer an align from an allocalign but the function
already promised it'd be more-aligned than the allocalign and there's an
existing align that we shouldn't reduce. Make sure we handle that
correctly.
Depends on D121641 <https://reviews.llvm.org/D121641>
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D121642
Files:
llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp
llvm/test/Transforms/InstCombine/InferAlignAttribute.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D121642.415229.patch
Type: text/x-patch
Size: 4905 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220314/229aef44/attachment.bin>
More information about the llvm-commits
mailing list