summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/RegAllocLocal.cpp
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2008-07-09 23:03:14 +0000
committerDan Gohman <gohman@apple.com>2008-07-09 23:03:14 +0000
commit7d94c49db9a5975925253cb97129064fdeeaaec7 (patch)
treec7c1b4dd1f6920bf62e7cf9d891b523ed3590e12 /llvm/lib/CodeGen/RegAllocLocal.cpp
parent832e8988035abf77cabb401057dcd6b9a5279200 (diff)
downloadbcm5719-llvm-7d94c49db9a5975925253cb97129064fdeeaaec7.tar.gz
bcm5719-llvm-7d94c49db9a5975925253cb97129064fdeeaaec7.zip
Simplify hasNUsesOfValue and hasAnyUsesOfValue even more. This
makes their special-case checks of use_size() less beneficial, so remove them. This eliminates all but one use of use_size(), which is in AssignTopologicalOrder, which uses it only once for each node, and so can reasonably afford to recompute it, as this allows the UsesSize field of SDNode to be removed altogether. llvm-svn: 53377
Diffstat (limited to 'llvm/lib/CodeGen/RegAllocLocal.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud