diff options
| author | Benjamin Kramer <benny.kra@googlemail.com> | 2011-02-07 22:37:28 +0000 |
|---|---|---|
| committer | Benjamin Kramer <benny.kra@googlemail.com> | 2011-02-07 22:37:28 +0000 |
| commit | 8d6a8c130bc5e197175513282fbef450c3331150 (patch) | |
| tree | 90eb3a95ea6b9ce89167bd6b7610ac80e8ed4bdb /llvm/lib/CodeGen/SimpleRegisterCoalescing.cpp | |
| parent | 36dd43fda6b44e0c6b0426b404fde11b38068a2c (diff) | |
| download | bcm5719-llvm-8d6a8c130bc5e197175513282fbef450c3331150.tar.gz bcm5719-llvm-8d6a8c130bc5e197175513282fbef450c3331150.zip | |
SimplifyCFG: Track the number of used icmps when turning a icmp chain into a switch. If we used only one icmp, don't turn it into a switch.
Also prevent the switch-to-icmp transform from creating identity adds, noticed by Marius Wachtler.
llvm-svn: 125056
Diffstat (limited to 'llvm/lib/CodeGen/SimpleRegisterCoalescing.cpp')
0 files changed, 0 insertions, 0 deletions

