[nac3standalone 32-bit error] ./ndarray.py
: Bad LLVM codegen #476
Labels
No Milestone
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: M-Labs/nac3#476
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
(Requires #468)
(Error found by https://git.m-labs.hk/lyken/misc/src/branch/main/nac3/find_ndarray_anomalies.py)
How to reproduce
Go to
nac3standalone/demo
and do:However, the error output from this command is unhelpful, see section "Special details on discovering bugs"
Special details on discovering bugs
See attachment (ndarray_crash_log.txt) for the full list of discovered LLVM IR codegen errors found using https://git.m-labs.hk/lyken/misc/src/branch/main/nac3/find_ndarray_anomalies.py by testing all
def test_*
individually.Problem
Almost all
test_*
produces malformed LLVM IR, and those LLVM errors generally look like this:Probably there is a common implementation in
nac3core
that produces the wrong IR, causing all the co-dependent ndarray functions to generate incorrect IR as a result. Issue #466 probably suffers from the same bug too.[nac3standalone 32-bit error] `src/ndarray.py`: Bad LLVM codegento [nac3standalone 32-bit error] `./ndarray.py`: Bad LLVM codegen