[PATCH] D93927: [ArgPromotion] Copy !range metadata for loads.
Matthias Braun via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jul 29 15:41:11 PDT 2021
MatzeB added inline comments.
================
Comment at: llvm/lib/Transforms/IPO/ArgumentPromotion.cpp:328-331
+ // Transfer the AA info too.
+ AAMDNodes AAInfo;
+ OrigLoad->getAAMetadata(AAInfo);
+ newLoad->setAAMetadata(AAInfo);
----------------
MatzeB wrote:
> This already happens in line 312.
Please ignore my comment, just realized 312 is about alignment not AAInfo.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D93927/new/
https://reviews.llvm.org/D93927
More information about the llvm-commits
mailing list