[InstCombine] clean up adjustMinMax(); NFCI
authorSanjay Patel <spatel@rotateright.com>
Tue, 1 Nov 2016 18:15:03 +0000 (18:15 +0000)
committerSanjay Patel <spatel@rotateright.com>
Tue, 1 Nov 2016 18:15:03 +0000 (18:15 +0000)
commit644d7c3b8aaa3c5ceb4651be78d0a22e27f60ba9
tree2742cebb3a87e420ebe8491a99f1068278667606
parentcf8a59e449e1d197d4b05d5b8b171246ecd9d02e
[InstCombine] clean up adjustMinMax(); NFCI

1. Change param names for readability
2. Change pointer param to ref
3. Early exit to reduce indent
4. Change switch to if/else

llvm-svn: 285718
llvm/lib/Transforms/InstCombine/InstCombineSelect.cpp