Skip to content

Commit 5a1ee9e

Browse files
author
git apple-llvm automerger
committed
Merge commit 'f38ce27c1376' from llvm.org/main into next
2 parents 780b44c + f38ce27 commit 5a1ee9e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/Target/X86/X86ISelDAGToDAG.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3087,7 +3087,7 @@ bool X86DAGToDAGISel::selectLEA64_Addr(SDValue N, SDValue &Base, SDValue &Scale,
30873087
Base = CurDAG->getTargetInsertSubreg(SubReg, DL, MVT::i64, ImplDef, Base);
30883088
}
30893089

3090-
EVT IndexType = Index.getValueType();
3090+
[[maybe_unused]] EVT IndexType = Index.getValueType();
30913091
RN = dyn_cast<RegisterSDNode>(Index);
30923092
if (RN && RN->getReg() == 0)
30933093
Index = CurDAG->getRegister(0, MVT::i64);

0 commit comments

Comments
 (0)