[llvm] r291126 - less braces; NFC
Sanjay Patel via llvm-commits
llvm-commits at lists.llvm.org
Thu Jan 5 08:47:32 PST 2017
Author: spatel
Date: Thu Jan 5 10:47:32 2017
New Revision: 291126
URL: http://llvm.org/viewvc/llvm-project?rev=291126&view=rev
Log:
less braces; NFC
Modified:
llvm/trunk/lib/Target/X86/X86ISelLowering.cpp
Modified: llvm/trunk/lib/Target/X86/X86ISelLowering.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/X86ISelLowering.cpp?rev=291126&r1=291125&r2=291126&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/X86ISelLowering.cpp (original)
+++ llvm/trunk/lib/Target/X86/X86ISelLowering.cpp Thu Jan 5 10:47:32 2017
@@ -16985,10 +16985,9 @@ SDValue X86TargetLowering::LowerSELECT(S
return DAG.getNode(ISD::EXTRACT_SUBVECTOR, DL, VT, newSelect, zeroConst);
}
- if (Cond.getOpcode() == ISD::SETCC) {
+ if (Cond.getOpcode() == ISD::SETCC)
if (SDValue NewCond = LowerSETCC(Cond, DAG))
Cond = NewCond;
- }
// (select (x == 0), -1, y) -> (sign_bit (x - 1)) | y
// (select (x == 0), y, -1) -> ~(sign_bit (x - 1)) | y
More information about the llvm-commits
mailing list