error: 'arith.extsi' op operation destroyed but still has uses
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 624
- Forks
- 170
- PR merge metrics
- No merged PRs in 30d
Description
Using the latest commit. Here is a minimal reproducible code:
```C
#include
void foo(uint16_t *m, uint16_t len) {
for(uint16_t i = 0; i < len; i++){
m[i] = 1;
}
for(uint16_t i = 0; i < len; i++) {
m[len - i - 1] = 1;
}
}
```
This could be potentially related to #322.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the reported error with the minimal C program using the latest commit. Read the related discussion in issue #322 and trace where the arith.extsi operation is destroyed while still used. Done means the reproducer no longer reports the operation-destroyed error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c, cpp
- Domain
- compilers
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100