summaryrefslogtreecommitdiffstats
path: root/llvm/lib/VMCore/Core.cpp
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2007-10-08 17:57:15 +0000
committerDan Gohman <gohman@apple.com>2007-10-08 17:57:15 +0000
commit5c6d0c3b99269088bb6ef896bcef26e6544041db (patch)
tree5bcf0c352ed60fa3755cc8207cf084b93ea91bbc /llvm/lib/VMCore/Core.cpp
parent4c73befe28b59b7112cee2881e3b82768c9aabb7 (diff)
downloadbcm5719-llvm-5c6d0c3b99269088bb6ef896bcef26e6544041db.tar.gz
bcm5719-llvm-5c6d0c3b99269088bb6ef896bcef26e6544041db.zip
DAGCombiner support for UDIVREM/SDIVREM and UMUL_LOHI/SMUL_LOHI.
Check if one of the two results unneeded so see if a simpler operator could bs used. Also check to see if each of the two computations could be simplified if they were split into separate operators. Factor out the code that calls visit() so that it can be used for this purpose. llvm-svn: 42759
Diffstat (limited to 'llvm/lib/VMCore/Core.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud