aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineFunction.cpp
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2008-09-15 21:22:06 +0000
committerDan Gohman <gohman@apple.com>2008-09-15 21:22:06 +0000
commit68e7735a3890294c9538ed843169ac5da7db33ba (patch)
tree75e9eb408efd9bf15661c65a391db13c3c8a9f6a /llvm/lib/CodeGen/MachineFunction.cpp
parent4089ccb0faaf398470fa0b21d433c7023b8285ba (diff)
downloadllvm-68e7735a3890294c9538ed843169ac5da7db33ba.zip
llvm-68e7735a3890294c9538ed843169ac5da7db33ba.tar.gz
llvm-68e7735a3890294c9538ed843169ac5da7db33ba.tar.bz2
Teach LSR to optimize away SMAX operations for tripcounts in common
cases. See the comment above OptimizeSMax for the full story, and the testcase for an example. This cancels out a pessimization commonly attributed to indvars, and will allow us to lift some of the artificial throttles in indvars, rather than add new ones. llvm-svn: 56230
Diffstat (limited to 'llvm/lib/CodeGen/MachineFunction.cpp')
0 files changed, 0 insertions, 0 deletions