Skip to content

Commit bdf4b9a

Browse files
authored
[NVPTX] Fix typo causing GCC warning (#103045)
Solves typo found by @mikaelholmen here: #98551 (comment)
1 parent 6b652f6 commit bdf4b9a

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

llvm/lib/Target/NVPTX/NVPTXISelDAGToDAG.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1974,8 +1974,7 @@ bool NVPTXDAGToDAGISel::tryStore(SDNode *N) {
19741974
Ops.append({BasePtr, Chain});
19751975
}
19761976

1977-
SDNode *NVPTXST = NVPTXST =
1978-
CurDAG->getMachineNode(*Opcode, DL, MVT::Other, Ops);
1977+
SDNode *NVPTXST = CurDAG->getMachineNode(*Opcode, DL, MVT::Other, Ops);
19791978

19801979
if (!NVPTXST)
19811980
return false;

0 commit comments

Comments
 (0)