diff options
author | Craig Topper <craig.topper@intel.com> | 2019-07-04 18:18:46 +0000 |
---|---|---|
committer | Craig Topper <craig.topper@intel.com> | 2019-07-04 18:18:46 +0000 |
commit | e9aed963ce36cd3af88abac77e98d2521ef8961e (patch) | |
tree | bcba8fa8b43119c72bc6694818ca6f5473511ede /llvm/lib/ToolDrivers/llvm-lib/LibDriver.cpp | |
parent | 5816889c748b37e1c3f48e8799a3478cf5931f60 (diff) | |
download | llvm-e9aed963ce36cd3af88abac77e98d2521ef8961e.zip llvm-e9aed963ce36cd3af88abac77e98d2521ef8961e.tar.gz llvm-e9aed963ce36cd3af88abac77e98d2521ef8961e.tar.bz2 |
[DAGCombiner] Don't combine (addcarry (uaddo X, Y), 0, Carry) -> (addcarry X, Y, Carry) if the Carry comes from the uaddo.
Summary:
The uaddo won't be removed and the addcarry will still be
dependent on the uaddo. So we'll just increase the use count
of X and Y and potentially require a COPY.
Reviewers: spatel, RKSimon, deadalnix
Reviewed By: RKSimon
Subscribers: hiraditya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D64190
llvm-svn: 365149
Diffstat (limited to 'llvm/lib/ToolDrivers/llvm-lib/LibDriver.cpp')
0 files changed, 0 insertions, 0 deletions