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:
cde2f33
)
DAGCombiner: fix -Wunused-private-field. NFC
author
Fangrui Song
<i@maskray.me>
Wed, 8 Feb 2023 06:33:56 +0000
(22:33 -0800)
committer
Fangrui Song
<i@maskray.me>
Wed, 8 Feb 2023 06:33:56 +0000
(22:33 -0800)
llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
patch
|
blob
|
history
diff --git
a/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
b/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
index
d1d6f4a
..
b6e0578
100644
(file)
--- a/
llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
+++ b/
llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
@@
-867,13
+867,12
@@
public:
class VPMatchContext {
SelectionDAG &DAG;
- SDNode *Root;
SDValue RootMaskOp;
SDValue RootVectorLenOp;
public:
VPMatchContext(SelectionDAG &DAG, SDNode *Root)
- : DAG(DAG), Root
(Root), Root
MaskOp(), RootVectorLenOp() {
+ : DAG(DAG), RootMaskOp(), RootVectorLenOp() {
assert(Root->isVPOpcode());
if (auto RootMaskPos = ISD::getVPMaskIdx(Root->getOpcode()))
RootMaskOp = Root->getOperand(*RootMaskPos);