Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
raviqqe committed Sep 30, 2023
1 parent 23e1f3b commit 5cd294d
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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<i64>
llvm.return
}
}
Expand Down
Original file line number Diff line number Diff line change
@@ -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
}
}

0 comments on commit 5cd294d

Please sign in to comment.