[Mlir-commits] [mlir] Add 'exact' flag to arith.shrui/shrsi/divsi/divui operations (PR #165923)

Jakub Kuderski llvmlistbot at llvm.org
Wed Nov 5 18:07:58 PST 2025


================
@@ -856,14 +887,17 @@ def Arith_ShRSIOp : Arith_TotalIntBinaryOp<"shrsi"> {
     operand is greater or equal than bitwidth of the first operand, then the operation
     returns poison.
 
+    If the `exact` keyword is present, the result value of shrsi is a poison
----------------
kuhar wrote:

also here

https://github.com/llvm/llvm-project/pull/165923


More information about the Mlir-commits mailing list