Home
last modified time | relevance | path

Searched refs:rhsAbs (Results 1 – 1 of 1) sorted by relevance

/llvm-project-15.0.7/mlir/lib/Conversion/ArithmeticToSPIRV/
H A DArithmeticToSPIRV.cpp465 Value rhsAbs = builder.create<SignedAbsOp>(loc, type, rhs); in emulateSignedRemainder() local
466 Value abs = builder.create<spirv::UModOp>(loc, lhsAbs, rhsAbs); in emulateSignedRemainder()
473 isPositive = builder.create<spirv::IEqualOp>(loc, rhs, rhsAbs); in emulateSignedRemainder()