projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
630bf05
)
use bool operator shortcut; NFC
author
Sanjay Patel
<spatel@rotateright.com>
Tue, 3 Mar 2015 20:41:27 +0000
(20:41 +0000)
committer
Sanjay Patel
<spatel@rotateright.com>
Tue, 3 Mar 2015 20:41:27 +0000
(20:41 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@231123
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/X86/X86ISelLowering.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/X86/X86ISelLowering.cpp
b/lib/Target/X86/X86ISelLowering.cpp
index ec0f0033a40f34e764ad059ae156b0ad4c117558..abc05d4e42dc534df1166a4ddc2ea85ec9f53875 100644
(file)
--- a/
lib/Target/X86/X86ISelLowering.cpp
+++ b/
lib/Target/X86/X86ISelLowering.cpp
@@
-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.