mirror of
https://github.com/RPCSX/llvm.git
synced 2024-12-03 01:12:59 +00:00
use bool operator shortcut; NFC
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@231123 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
630bf05f92
commit
d885b861e6
@ -10134,8 +10134,7 @@ SDValue X86TargetLowering::LowerVSELECT(SDValue Op, SelectionDAG &DAG) const {
|
||||
|
||||
// Try to lower this to a blend-style vector shuffle. This can handle all
|
||||
// constant condition cases.
|
||||
SDValue BlendOp = lowerVSELECTtoVectorShuffle(Op, Subtarget, DAG);
|
||||
if (BlendOp.getNode())
|
||||
if (SDValue BlendOp = lowerVSELECTtoVectorShuffle(Op, Subtarget, DAG))
|
||||
return BlendOp;
|
||||
|
||||
// Variable blends are only legal from SSE4.1 onward.
|
||||
|
Loading…
Reference in New Issue
Block a user