aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/CommandLine.cpp
diff options
context:
space:
mode:
authorSimon Pilgrim <llvm-dev@redking.me.uk>2019-02-04 13:44:49 +0000
committerSimon Pilgrim <llvm-dev@redking.me.uk>2019-02-04 13:44:49 +0000
commita536b89fe0e99c7323d647787873e994076cde22 (patch)
treec77f6deecb0cebd8a48321cd0be21fea50b9eca8 /llvm/lib/Support/CommandLine.cpp
parentedbf06a76771f77f70ad6ee1b4641a2d53c14152 (diff)
downloadllvm-a536b89fe0e99c7323d647787873e994076cde22.zip
llvm-a536b89fe0e99c7323d647787873e994076cde22.tar.gz
llvm-a536b89fe0e99c7323d647787873e994076cde22.tar.bz2
[DAGCombine] Add ADD(SUB,SUB) combines
Noticed while investigating PR40483, and fixes the basic test case from the bug - but not a more general case. We're pretty weak at dealing with ADD/SUB combines compared to the SimplifyAssociativeOrCommutative/SimplifyUsingDistributiveLaws abilities that InstCombine can manage. llvm-svn: 353044
Diffstat (limited to 'llvm/lib/Support/CommandLine.cpp')
0 files changed, 0 insertions, 0 deletions