[PATCH] D68765: [Attributor] Function signature rewrite infrastructure
Johannes Doerfert via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sat Dec 21 12:08:38 PST 2019
jdoerfert marked an inline comment as done.
jdoerfert added inline comments.
================
Comment at: llvm/test/Transforms/Attributor/ArgumentPromotion/reserve-tbaa.ll:1
; NOTE: Assertions have been autogenerated by utils/update_test_checks.py UTC_ARGS: --function-signature --scrub-attributes
; RUN: opt -S -passes='attributor' -aa-pipeline='basic-aa' -attributor-disable=false -attributor-max-iterations-verify -attributor-max-iterations=2 < %s | FileCheck %s
----------------
uenoku wrote:
> Could you explain what occurs in this test?
So the intent was to make sure we keep tbaa metadata properly attached to the new loads and stores.
I changed it because it was not using one of the arguments (transitively). As a result, we would
deleted the argument with this patch but that is not what we want to test. So I added a transitive user to ensure tbaa metadata are still tested (once we actually promote the arguments).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D68765/new/
https://reviews.llvm.org/D68765
More information about the llvm-commits
mailing list