This is an archive of the discontinued LLVM Phabricator instance.

[Inliner][NoAlias] Use call site attributes too
ClosedPublic

Authored by jdoerfert on Jan 27 2020, 10:23 PM.

Details

Summary

If we had noalias on an argument the inliner created alias scope
metadata already. However, the call site noalias annotation was not
considered. Since the Attributor can derive such call site noalias
annotation we should treat them the same as argument annotations.

Diff Detail

Event Timeline

jdoerfert created this revision.Jan 27 2020, 10:23 PM
Herald added a project: Restricted Project. · View Herald Transcript

Unit tests: fail. 62233 tests passed, 18 failed and 816 were skipped.

failed: Clang.CodeGen/arm-v8.2a-neon-intrinsics.c
failed: Clang.CodeGen/arm-vector-arguments.c
failed: Clang.CodeGen/arm_neon_intrinsics.c
failed: Clang.CodeGen/parameter-passing.c
failed: LLVM.Transforms/Coroutines/ArgAddr.ll
failed: LLVM.Transforms/Coroutines/coro-retcon-resume-values.ll
failed: LLVM.Transforms/Coroutines/coro-retcon-value.ll
failed: LLVM.Transforms/Coroutines/coro-retcon.ll
failed: LLVM.Transforms/Coroutines/ex0.ll
failed: LLVM.Transforms/Coroutines/ex1.ll
failed: LLVM.Transforms/Coroutines/ex2.ll
failed: LLVM.Transforms/Coroutines/ex3.ll
failed: LLVM.Transforms/Coroutines/ex4.ll
failed: LLVM.Transforms/Coroutines/ex5.ll
failed: LLVM.Transforms/Inline/launder.invariant.group.ll
failed: LLVM.Transforms/Inline/noalias.ll
failed: LLVM.Transforms/Inline/noalias2.ll
failed: LLVM.Transforms/Inline/parallel-loop-md-merge.ll

clang-tidy: pass.

clang-format: pass.

Build artifacts: diff.json, clang-tidy.txt, clang-format.patch, CMakeCache.txt, console-log.txt, test-results.xml

Pre-merge checks is in beta. Report issue. Please join beta or enable it for your project.

Fixed a problem caused by misinterpretation of the existing code

Unit tests: pass. 62251 tests passed, 0 failed and 816 were skipped.

clang-tidy: pass.

clang-format: pass.

Build artifacts: diff.json, clang-tidy.txt, clang-format.patch, CMakeCache.txt, console-log.txt, test-results.xml

Pre-merge checks is in beta. Report issue. Please join beta or enable it for your project.

This revision is now accepted and ready to land.Jan 31 2020, 12:51 PM
This revision was automatically updated to reflect the committed changes.