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:
0e5bfff
)
[X86] Add chain in ISel for x86_tdpbssd_internal intrinsic.
author
Luo, Yuanke
<yuanke.luo@intel.com>
Sat, 12 Dec 2020 12:21:43 +0000
(20:21 +0800)
committer
Luo, Yuanke
<yuanke.luo@intel.com>
Sat, 12 Dec 2020 13:14:38 +0000
(21:14 +0800)
llvm/lib/Target/X86/X86ISelDAGToDAG.cpp
patch
|
blob
|
history
diff --git
a/llvm/lib/Target/X86/X86ISelDAGToDAG.cpp
b/llvm/lib/Target/X86/X86ISelDAGToDAG.cpp
index
e0f54a2
..
5d197e4
100644
(file)
--- a/
llvm/lib/Target/X86/X86ISelDAGToDAG.cpp
+++ b/
llvm/lib/Target/X86/X86ISelDAGToDAG.cpp
@@
-4601,6
+4601,7
@@
void X86DAGToDAGISel::Select(SDNode *Node) {
case Intrinsic::x86_tdpbssd_internal: {
if (!Subtarget->hasAMXTILE())
break;
+ SDValue Chain = Node->getOperand(0);
unsigned Opc = X86::PTDPBSSDV;
SDValue CFG = CurDAG->getRegister(0, MVT::Untyped);
SDValue Ops[] = {Node->getOperand(2),
@@
-4609,7
+4610,8
@@
void X86DAGToDAGISel::Select(SDNode *Node) {
Node->getOperand(5),
Node->getOperand(6),
Node->getOperand(7),
- CFG};
+ CFG,
+ Chain};
MachineSDNode *CNode =
CurDAG->getMachineNode(Opc, dl, {MVT::v256i32, MVT::Other}, Ops);
ReplaceNode(Node, CNode);