SimplifyCFG: Track the number of used icmps when turning a icmp chain into a...
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
Loading
Please register or sign in to comment