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:
48e298b
)
adding a pattern for broadcastm
author
Jina Nahias
<jina.nahias@intel.com>
Mon, 6 Nov 2017 07:09:09 +0000
(07:09 +0000)
committer
Jina Nahias
<jina.nahias@intel.com>
Mon, 6 Nov 2017 07:09:09 +0000
(07:09 +0000)
Change-Id: I6551fb13879e098aed74de410e29815cf37d9ab5
llvm-svn: 317457
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
af73d4e
..
1a1fd25
100644
(file)
--- a/
llvm/lib/Target/X86/X86ISelLowering.cpp
+++ b/
llvm/lib/Target/X86/X86ISelLowering.cpp
@@
-6748,8
+6748,8
@@
static SDValue lowerBuildVectorAsBroadcast(BuildVectorSDNode *BVOp,
// Attempt to use VBROADCASTM
// From this paterrn:
- // a. t0 = (zext_i64 (bitcast_i8 v2i1 X))
- // b. t1 = (build_vector t0 t0)
+ //
a. t0 = (zext_i64 (bitcast_i8 v2i1 X))
+ //
b. t1 = (build_vector t0 t0)
//
// Create (VBROADCASTM v2i1 X)
if (Subtarget.hasCDI() && (VT.is512BitVector() || Subtarget.hasVLX())) {