[PATCH] D29521: Add ADDC to SelectionDAG::computeKnownBits and ComputeNumSignBits.
Amaury SECHET via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun Feb 5 16:32:36 PST 2017
deadalnix updated this revision to Diff 87173.
deadalnix added a comment.
Add test case for add and adc.
The test case for adc is a bit complex, but it was necessary to put the adc in a context where its surrounding cannot be optimized away. That means computing a result using the carry, and returning it somehow, while making sure the result of the adc itself can be optimized away.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 3295 bytes
Desc: not available
More information about the llvm-commits