projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2a38887
)
[X86] Remove unnecessary check for is128BitVector. NFC
author
Craig Topper
<craig.topper@intel.com>
Thu, 23 Nov 2017 03:24:00 +0000
(
03:24
+0000)
committer
Craig Topper
<craig.topper@intel.com>
Thu, 23 Nov 2017 03:24:00 +0000
(
03:24
+0000)
256 and 512 bit vectors were picked off earlier in the function. Lots of code between there and here already assumed 128-bit vectors.
llvm-svn: 318893
llvm/lib/Target/X86/X86ISelLowering.cpp
patch
|
blob
|
history
diff --git
a/llvm/lib/Target/X86/X86ISelLowering.cpp
b/llvm/lib/Target/X86/X86ISelLowering.cpp
index
9c10e21
..
6cb84f4
100644
(file)
--- a/
llvm/lib/Target/X86/X86ISelLowering.cpp
+++ b/
llvm/lib/Target/X86/X86ISelLowering.cpp
@@
-8140,7
+8140,7
@@
X86TargetLowering::LowerBUILD_VECTOR(SDValue Op, SelectionDAG &DAG) const {
return DAG.getVectorShuffle(VT, dl, Ops[0], Ops[1], MaskVec);
}
- if (Values.size() > 1
&& VT.is128BitVector()
) {
+ if (Values.size() > 1) {
// Check for a build vector from mostly shuffle plus few inserting.
if (SDValue Sh = buildFromShuffleMostly(Op, DAG))
return Sh;