diff options
author | Johannes Doerfert <johannes@jdoerfert.de> | 2020-04-12 12:41:56 -0500 |
---|---|---|
committer | Johannes Doerfert <johannes@jdoerfert.de> | 2020-04-16 00:56:00 -0500 |
commit | ea7f17ee387062fcb74af2ba27c426a68c6bc8ad (patch) | |
tree | 67835af5156f74e092d13570318baf21e58f73c9 /llvm/lib/CodeGen/MachineLoopUtils.cpp | |
parent | 8ad19ffa7bd2ce50b90f3214b6012ec2d880cf52 (diff) | |
download | llvm-ea7f17ee387062fcb74af2ba27c426a68c6bc8ad.zip llvm-ea7f17ee387062fcb74af2ba27c426a68c6bc8ad.tar.gz llvm-ea7f17ee387062fcb74af2ba27c426a68c6bc8ad.tar.bz2 |
[InstCombine] Simplify calls with casted `returned` attribute
The handling of the `returned` attribute in D75815 did miss the case
where the argument is (bit)casted to a different type. This is
explicitly allowed by the language reference and exposed by the
Attributor.
Reviewed By: lebedev.ri
Differential Revision: https://reviews.llvm.org/D77977
Diffstat (limited to 'llvm/lib/CodeGen/MachineLoopUtils.cpp')
0 files changed, 0 insertions, 0 deletions