[PATCH] D69542: Full Restrict Support - single patch
Henry Kao via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Feb 1 14:09:48 PST 2022
hkao13 added inline comments.
================
Comment at: clang/lib/CodeGen/CGExpr.cpp:1759
+ // The llvm.noalias intrinsic can make use of the available alias info
+ NoAliasLoad->setAAMetadata(Load->getAAMetadata());
+
----------------
Metadata copied over from `Load` to `NoAliasLoad` may include TBAA. `NoAliasLoad` may be a bitcast instruction which will cause IR verifier to assert if TBAA metadata is attached.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D69542/new/
https://reviews.llvm.org/D69542
More information about the llvm-commits
mailing list