diff options
author | Daniel Berlin <dberlin@dberlin.org> | 2017-02-07 19:29:25 +0000 |
---|---|---|
committer | Daniel Berlin <dberlin@dberlin.org> | 2017-02-07 19:29:25 +0000 |
commit | 2c438a30754ec8f44ff45ca2455025c27772b6de (patch) | |
tree | f1e981e8afe4ecca55d7582520e5b00218fd163f /llvm/lib/Transforms/Utils/Utils.cpp | |
parent | b285deab935f0875bbc48cd2c0c86809663079cb (diff) | |
download | bcm5719-llvm-2c438a30754ec8f44ff45ca2455025c27772b6de.tar.gz bcm5719-llvm-2c438a30754ec8f44ff45ca2455025c27772b6de.zip |
This patch adds a ssa_copy intrinsic, as part of splitting up D29316.
Summary:
The intrinsic, marked as returning it's first argument, has no code
generation effect (though currently not every optimization pass knows
that intrinsics with the returned attribute can be looked through).
It is about to be used to by the PredicateInfo pass to attach
predicate information to existing operands, and be able to tell what
the predicate information affects.
We deliberately do not attach any info through a second operand so
that the intrinsics do not need to dominate the comparisons/etc (since
in the case of assume, we may want to push them up the post-dominator
tree).
Reviewers: davide, sanjoy
Subscribers: llvm-commits
Differential Revision: https://reviews.llvm.org/D29517
llvm-svn: 294341
Diffstat (limited to 'llvm/lib/Transforms/Utils/Utils.cpp')
0 files changed, 0 insertions, 0 deletions