[llvm] [FunctionAttrs] Improve handling of alias-preserving intrinsic calls (PR #68453)
Krzysztof Drewniak via llvm-commits
llvm-commits at lists.llvm.org
Fri Oct 27 07:27:25 PDT 2023
================
@@ -654,7 +654,15 @@ determinePointerAccessAttrs(Argument *A,
// must be a data operand (e.g. argument or operand bundle)
const unsigned UseIndex = CB.getDataOperandNo(U);
- if (!CB.doesNotCapture(UseIndex)) {
+ // Some intrinsics (for instance ptrmask) do not capture their results,
+ // but return results thas alias their pointer argument, and thus should
----------------
krzysz00 wrote:
... Apparently I forgot to `git commit --amend` in the typo fix. Should I make a new PR for that or?
https://github.com/llvm/llvm-project/pull/68453
More information about the llvm-commits
mailing list