Skip to content

Commit bddc989

Browse files
committed
add other arithmetic ops as well
1 parent 90b8e8b commit bddc989

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

‎lib/Support/CFG.cpp‎

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -695,8 +695,12 @@ static GIIDStatus isGIIDRec(
695695
handshake::ExtSIOp, handshake::ExtUIOp, handshake::MulIOp,
696696
handshake::OrIOp, handshake::ShLIOp, handshake::ShRUIOp,
697697
handshake::ShRSIOp, handshake::SubIOp, handshake::TruncIOp,
698-
handshake::XOrIOp, handshake::AddFOp, handshake::CmpFOp,
699-
handshake::DivFOp, handshake::MulFOp, handshake::SubFOp>(
698+
handshake::XOrIOp, handshake::NotIOp, handshake::RemSIOp,
699+
handshake::MaxSIOp, handshake::MaxUIOp, handshake::MinSIOp,
700+
handshake::MinUIOp, handshake::MaximumFOp,
701+
handshake::MinimumFOp, handshake::AddFOp, handshake::CmpFOp,
702+
handshake::DivFOp, handshake::MulFOp, handshake::SubFOp,
703+
handshake::NegFOp, handshake::AbsFOp, handshake::ExtFOp>(
700704
[&](auto) {
701705
// At least one operand must depend on the predecessor
702706
return foldGIIDStatusOr(recurse, defOp->getOperands());

0 commit comments

Comments
 (0)