aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineFunction.cpp
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2009-04-30 20:47:05 +0000
committerDan Gohman <gohman@apple.com>2009-04-30 20:47:05 +0000
commit2b8da35f9d2fbcfd7ec671a2312b53858f62f4da (patch)
tree069f43a70ffff71bcb1fea0b4e80a4926467fdbb /llvm/lib/CodeGen/MachineFunction.cpp
parent2ff8a79d2758b71443039351f3a444b57b4b0cdc (diff)
downloadllvm-2b8da35f9d2fbcfd7ec671a2312b53858f62f4da.zip
llvm-2b8da35f9d2fbcfd7ec671a2312b53858f62f4da.tar.gz
llvm-2b8da35f9d2fbcfd7ec671a2312b53858f62f4da.tar.bz2
Extend ScalarEvolution's getBackedgeTakenCount to be able to
compute an upper-bound value for the trip count, in addition to the actual trip count. Use this to allow getZeroExtendExpr and getSignExtendExpr to fold casts in more cases. This may eventually morph into a more general value-range analysis capability; there are certainly plenty of places where more complete value-range information would allow more folding. llvm-svn: 70509
Diffstat (limited to 'llvm/lib/CodeGen/MachineFunction.cpp')
0 files changed, 0 insertions, 0 deletions