Skip to content

Commit f582cd3

Browse files
[SelectionDAG] Fix a warning
This patch fixes: llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp:1489:17: error: unused variable 'Flags' [-Werror,-Wunused-variable]
1 parent dbece8e commit f582cd3

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1486,7 +1486,6 @@ bool TargetLowering::SimplifyDemandedBits(
14861486
case ISD::OR: {
14871487
SDValue Op0 = Op.getOperand(0);
14881488
SDValue Op1 = Op.getOperand(1);
1489-
SDNodeFlags Flags = Op.getNode()->getFlags();
14901489
if (SimplifyDemandedBits(Op1, DemandedBits, DemandedElts, Known, TLO,
14911490
Depth + 1)) {
14921491
Op->dropFlags(SDNodeFlags::Disjoint);

0 commit comments

Comments
 (0)