bytecodealliance / bytecodealliance/wasmtime

Cranelift's `souper-harvest`: don't harvest identity expressions

Open
#5,634 0 comments 0 reactions 0 assignees View on GitHub
cranelift
Dominant language
Rust
Stars
18.6k
Forks
1.8k
Avg merge
1d 18h
Merged PRs (30d)
126

Description

We sometimes harvest left-hand sides for Souper to optimize that are the identity expression:

```
;; Harvested from `v17` in `u0:201`
%4:i8 = var
infer %4
```

We shouldn't do that.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.