[Mlir-commits] [mlir] [MLIR][LLVM] Improve bit- and addrspacecast folders (PR #87745)

Tobias Gysi llvmlistbot at llvm.org
Thu Apr 4 23:38:14 PDT 2024


================
@@ -101,6 +101,18 @@ llvm.func @fold_bitcast2(%x : i32) -> i32 {
 
 // -----
 
+// CHECK-LABEL: fold_bitcast_chain
+// CHECK-SAME: %[[a0:arg[0-9]+]]
----------------
gysit wrote:

nit: I would suggest to switch to [[ARG0:[[:alnum:]]+]] rather than matching arg explicitly.



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


More information about the Mlir-commits mailing list