diff --git a/melior/src/dialect/snapshots/melior__dialect__ods__tests__compile_llvm_alloca.snap b/melior/src/dialect/snapshots/melior__dialect__ods__tests__compile_llvm_alloca.snap index 90729876b1..807af970c2 100644 --- a/melior/src/dialect/snapshots/melior__dialect__ods__tests__compile_llvm_alloca.snap +++ b/melior/src/dialect/snapshots/melior__dialect__ods__tests__compile_llvm_alloca.snap @@ -4,7 +4,7 @@ expression: module.as_operation() --- module attributes {llvm.data_layout = ""} { llvm.func @foo(%arg0: i64) { - %0 = llvm.alloca %arg0 x i64 {alignment = 8 : i64} : (i64) -> !llvm.ptr + %0 = llvm.alloca %arg0 x i64 : (i64) -> !llvm.ptr llvm.return } } diff --git a/melior/src/dialect/snapshots/melior__dialect__ods__tests__compile_llvm_alloca_builder.snap b/melior/src/dialect/snapshots/melior__dialect__ods__tests__compile_llvm_alloca_builder.snap new file mode 100644 index 0000000000..90729876b1 --- /dev/null +++ b/melior/src/dialect/snapshots/melior__dialect__ods__tests__compile_llvm_alloca_builder.snap @@ -0,0 +1,11 @@ +--- +source: melior/src/dialect/ods.rs +expression: module.as_operation() +--- +module attributes {llvm.data_layout = ""} { + llvm.func @foo(%arg0: i64) { + %0 = llvm.alloca %arg0 x i64 {alignment = 8 : i64} : (i64) -> !llvm.ptr + llvm.return + } +} +