aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineInstr.cpp
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2009-06-24 01:18:18 +0000
committerDan Gohman <gohman@apple.com>2009-06-24 01:18:18 +0000
commitf19aeec3f573e00627eda03d92d6b446660a8819 (patch)
treeb4c9847c61ff86b754fdc557999b76fe0bfd7301 /llvm/lib/CodeGen/MachineInstr.cpp
parent33420090ae83aca1155917d6834f5e1ec53407c2 (diff)
downloadllvm-f19aeec3f573e00627eda03d92d6b446660a8819.zip
llvm-f19aeec3f573e00627eda03d92d6b446660a8819.tar.gz
llvm-f19aeec3f573e00627eda03d92d6b446660a8819.tar.bz2
Extend ScalarEvolution's multiple-exit support to compute exact
trip counts in more cases. Generalize ScalarEvolution's isLoopGuardedByCond code to recognize And and Or conditions, splitting the code out into an isNecessaryCond helper function so that it can evaluate Ands and Ors recursively, and make SCEVExpander be much more aggressive about hoisting instructions out of loops. test/CodeGen/X86/pr3495.ll has an additional instruction now, but it appears to be due to an arbitrary register allocation difference. llvm-svn: 74048
Diffstat (limited to 'llvm/lib/CodeGen/MachineInstr.cpp')
0 files changed, 0 insertions, 0 deletions