Skip to content

Commit fe034f1

Browse files
committed
Minor cleanup of arrays
1 parent 50f5fe5 commit fe034f1

File tree

2 files changed

+123
-127
lines changed

2 files changed

+123
-127
lines changed

tests/filecheck/dialects/asl/primitives.mlir

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,8 +121,6 @@ builtin.module {
121121

122122
%gref = asl.address_of @G : !asl.ref<!asl.bits<32>>
123123
%aref = asl.address_of @A : !asl.ref<!asl.array<16 x !asl.bits<32>>>
124-
// %eref = asl.array_ref %aref[%int1] : !asl.ref<!asl.array<16 x !asl.bits<32>>>
125-
// asl.store %bits1 to %gref : !asl.bits<32>
126124
%eref = asl.array_ref %aref[%int1] : !asl.ref<!asl.array<16 x !asl.bits<32>>> -> !asl.ref<!asl.bits<32>>
127125
asl.store %bits to %gref : !asl.bits<32>
128126
%load = asl.load from %eref : !asl.bits<32>

0 commit comments

Comments
 (0)