Convert two if sequences to switches.

llvm-svn: 195859
1 file changed