• Joined on 2021-03-29
ychenfo created pull request M-Labs/nac3#260 2022-04-09 04:57:45 +08:00
add missing bound check and negative index handling for list subscription assignment
ychenfo pushed to neg_index_bound_check at M-Labs/nac3 2022-04-09 04:57:15 +08:00
26187bff0b nac3core: add missing bound check and negative index handling for list subscription assignment
ychenfo created branch neg_index_bound_check in M-Labs/nac3 2022-04-09 04:57:14 +08:00
ychenfo created pull request M-Labs/nac3#259 2022-04-09 04:22:13 +08:00
Get llvm value with expected type (#256)
ychenfo pushed to get_symbol_val_with_type at M-Labs/nac3 2022-04-09 04:18:34 +08:00
55a5927280 nac3core,artiq: remove unnecessary ptr casts
ychenfo pushed to get_symbol_val_with_type at M-Labs/nac3 2022-04-09 04:02:49 +08:00
b3d7fcf1e2 nac3artiq: skip attribute writeback for option
66936d5b43 nac3core,artiq,standalone: symbol resolver getting symbol value with expected type
Compare 2 commits »
ychenfo pushed to get_symbol_val_with_type at M-Labs/nac3 2022-04-09 03:55:41 +08:00
d855d2047c nac3artiq: skip attribute writeback for option
ychenfo created branch get_symbol_val_with_type in M-Labs/nac3 2022-04-08 03:34:39 +08:00
ychenfo pushed to get_symbol_val_with_type at M-Labs/nac3 2022-04-08 03:34:39 +08:00
ce58ec9a7a nac3core: fix broken tests
515689cb27 nac3core,artiq,standalone: symbol resolver getting symbol value with expected type
Compare 2 commits »
ychenfo commented on pull request M-Labs/nac3#255 2022-04-06 15:21:36 +08:00
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…

ychenfo commented on pull request M-Labs/nac3#255 2022-04-06 13:07:46 +08:00
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…

ychenfo opened issue M-Labs/nac3#256 2022-04-06 03:13:22 +08:00
"LLVM ERROR: Type mismatch in constant table!" on empty host list
ychenfo commented on pull request M-Labs/nac3#255 2022-04-06 00:05:21 +08:00
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…

ychenfo commented on pull request M-Labs/nac3#255 2022-04-05 18:22:37 +08:00
Add bound check for list and range (#185)

force-pushed to rebase on the latest master branch

ychenfo pushed to bound_check at M-Labs/nac3 2022-04-05 18:21:55 +08:00
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
Compare 4 commits »
ychenfo created pull request M-Labs/nac3#255 2022-04-05 18:05:32 +08:00
Add bound check for list and range (#185)
ychenfo pushed to bound_check at M-Labs/nac3 2022-04-05 17:26:26 +08:00
f1a99e4bfb nac3standalone: fix broken test
9b4e459cc2 nac3core: add bound check for list slice
f2cd22e132 nac3core: add location information to codegen context
Compare 3 commits »
ychenfo pushed to bound_check at M-Labs/nac3 2022-04-05 16:22:15 +08:00
4e15b0d3a4 nac3standalone: fix broken test
5814ea3241 nac3core: add bound check for list slice
615f0e5fed nac3core: add location information to codegen context
Compare 3 commits »
ychenfo pushed to bound_check at M-Labs/nac3 2022-04-05 16:19:26 +08:00
4d5c497836 nac3standalone: fix broken test
ychenfo pushed to bound_check at M-Labs/nac3 2022-04-05 16:15:57 +08:00
6aa831e7a2 nac3standalone: fix broken test
e4842d9c70 nac3core: add bound check for list slice
Compare 2 commits »