diff options
author | Craig Topper <craig.topper@intel.com> | 2018-07-28 00:27:25 +0000 |
---|---|---|
committer | Craig Topper <craig.topper@intel.com> | 2018-07-28 00:27:25 +0000 |
commit | 50b1d4303d0e710007bc2ebc895a378e53204400 (patch) | |
tree | d490fef34a7494321498866f9a42f60f3744c601 /llvm/docs/SourceLevelDebugging.rst | |
parent | 5666c7e4bd629bb6329cf8ac498507ef7bef673c (diff) | |
download | bcm5719-llvm-50b1d4303d0e710007bc2ebc895a378e53204400.tar.gz bcm5719-llvm-50b1d4303d0e710007bc2ebc895a378e53204400.zip |
[DAGCombiner] Teach DAG combiner that A-(B-C) can be folded to A+(C-B)
This can be useful since addition is commutable, and subtraction is not.
This matches a transform that is also done by InstCombine.
llvm-svn: 338181
Diffstat (limited to 'llvm/docs/SourceLevelDebugging.rst')
0 files changed, 0 insertions, 0 deletions