add missing bound check and negative index handling for list subscription assignment
26187bff0b
nac3core: add missing bound check and negative index handling for list subscription assignment
Get llvm value with expected type (#256)
b3d7fcf1e2
nac3artiq: skip attribute writeback for option
66936d5b43
nac3core,artiq,standalone: symbol resolver getting symbol value with expected type
ce58ec9a7a
nac3core: fix broken tests
515689cb27
nac3core,artiq,standalone: symbol resolver getting symbol value with expected type
Add bound check for list and range (#185)
Oh I run this profile under the debug release just to get a brief idea of the performance impact of this PR. Here are the results under the release build:
current master…
Add bound check for list and range (#185)
I wrote it such that it is also updated when visiting statements in gen_stmt
.. And I think this along with gen_expr
should suffice for updating the location? The location for the current several…
"LLVM ERROR: Type mismatch in constant table!" on empty host list
Add bound check for list and range (#185)
This is the 'fix broken test' commit. This test should not pass because the length of bl6
is 10, so bl[3:-5]
is bl[3,5]
, which has length 2, so this test is actually extending the list, which…
86ce513cb5
nac3standalone: fix broken test
c29cbf6ddd
nac3core: add bound check for list slice
7443c5ea0f
nac3core: add location information to codegen context
f55b077e60
README: update Windows instructions
Add bound check for list and range (#185)
f1a99e4bfb
nac3standalone: fix broken test
9b4e459cc2
nac3core: add bound check for list slice
f2cd22e132
nac3core: add location information to codegen context
4e15b0d3a4
nac3standalone: fix broken test
5814ea3241
nac3core: add bound check for list slice
615f0e5fed
nac3core: add location information to codegen context
6aa831e7a2
nac3standalone: fix broken test
e4842d9c70
nac3core: add bound check for list slice