Skip to content

Commit 12a677a

Browse files
Update LegalizeDAG.cpp
1 parent 230f332 commit 12a677a

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5296,6 +5296,11 @@ void SelectionDAGLegalize::PromoteNode(SDNode *Node) {
52965296
case ISD::SMAX:
52975297
case ISD::UMIN:
52985298
case ISD::UMAX:
5299+
case ISD::SUB:
5300+
case ISD::ADD:
5301+
case ISD::SHL:
5302+
case ISD::SRL:
5303+
case ISD::SRA:
52995304
case ISD::AND:
53005305
case ISD::OR:
53015306
case ISD::XOR: {

0 commit comments

Comments
 (0)