[Mlir-commits] [mlir] [mlir][index] Implement folders for CastSOp and CastUOp (PR #66960)
Jacques Pienaar
llvmlistbot at llvm.org
Wed Sep 20 17:02:17 PDT 2023
================
@@ -556,3 +556,11 @@ func.func @sub_identity(%arg0: index) -> index {
// CHECK-NEXT: return %arg0
return %0 : index
}
+
+// CHECK-LABEL: @castu_to_index
+func.func @castu_to_index() -> index {
+ // CHECK: index.constant 8000000000000
----------------
jpienaar wrote:
Could you add the opposite direction here? That's where most of the logic is right?
https://github.com/llvm/llvm-project/pull/66960
More information about the Mlir-commits
mailing list