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