[Mlir-commits] [mlir] [MLIR][LLVM] Fix CallOp asm parser for attr-dict (PR #74372)
Billy Zhu
llvmlistbot at llvm.org
Mon Dec 4 23:02:50 PST 2023
================
@@ -1227,15 +1227,19 @@ llvm.func @varargs(...)
// CHECK-LABEL: define void @varargs_call
llvm.func @varargs_call(%arg0 : i32) {
+// CHECK: call void (...) @varargs(i32 %{{.*}})
// CHECK: call void (...) @varargs(i32 %{{.*}})
llvm.call @varargs(%arg0) vararg(!llvm.func<void (...)>) : (i32) -> ()
+ llvm.call @varargs(%arg0) vararg(!llvm.func<void (...)>) {fastmathFlags = #llvm.fastmath<none>} : (i32) -> ()
llvm.return
}
// CHECK-LABEL: define void @indirect_varargs_call(ptr %0, i32 %1)
llvm.func @indirect_varargs_call(%arg0 : !llvm.ptr, %arg1 : i32) {
+// CHECK: call void (...) %0(i32 %1)
// CHECK: call void (...) %0(i32 %1)
----------------
zyx-billy wrote:
oh there was no result to show any difference, I was just trying to test parsing. But let me change this to make the attribute show up in the conversion result.
https://github.com/llvm/llvm-project/pull/74372
More information about the Mlir-commits
mailing list