[PATCH] D9400: llvm.noalias - Use noalias intrinsics when inlining (and update them when cloning metadata)

Hal Finkel via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 3 16:01:48 PDT 2016


hfinkel added inline comments.


> majnemer wrote in InlineFunction.cpp:897
> Does it make sense to hoist this out of the loop and clear it on each iteration?

Actually, this is not needed at all. ArrayRef has a single-element constructor, and this array only ever has one element (oops).

https://reviews.llvm.org/D9400





More information about the llvm-commits mailing list