Back to PBT run

output.generic.mlir

module {
  llvm.func @zero_counts_0(%arg0: i8) attributes {passthrough = [["no-trapping-math", "true"]], target_cpu = "generic"} {
    %0 = arith.andi %arg0, %arg0 : i8
    %1 = arith.addi %arg0, %arg0 : i8
    llvm.return
  }
  llvm.func @zero_counts_1(%arg0: i32) attributes {passthrough = ["nounwind"]} {
    %0 = "llvm.intr.cttz"(%arg0) <{is_zero_poison = true}> : (i32) -> i32
    %1 = math.cttz %arg0 : i32
    %2 = arith.addi %arg0, %arg0 : i32
    llvm.return
  }
  llvm.func @zero_counts_2(%arg0: i8) attributes {passthrough = [["no-trapping-math", "true"]], target_cpu = "generic"} {
    %0 = math.cttz %arg0 : i8
    %1 = "llvm.intr.ctlz"(%arg0) <{is_zero_poison = true}> : (i8) -> i8
    %2 = "llvm.intr.ctlz"(%arg0) <{is_zero_poison = true}> : (i8) -> i8
    %3 = arith.andi %arg0, %arg0 : i8
    llvm.return
  }
}