Stream: git-cranelift

Topic: cranelift / Issue #466 Tracking issue for missing i8/i16 ...


view this post on Zulip GitHub (Feb 28 2020 at 23:24):

alexcrichton transferred Issue #466:

Opening this issue to prevent polluting the issue list

```
target x86_64

function %clz_i16(i16) -> i16 fast {
ebb0(v0: i16):
    v1 = clz.i16 v0
    return v1
}
```

```
function %clz_i16(i16 [%rdi]) -> i16 [%rax] fast {
                                ebb0(v0: i16):
                                    v1 = clz.i16 v0
[Op1ret#c3]                         return v1
                                    ^~~~~~ verifier inst1: v1 is a ghost value used by a real [Op1ret#c3] instruction
}
```
```
target x86_64

function %ireduce_i8(i16) -> i8 fast {
ebb0(v0: i16):
    v1 = ireduce.i8 v0
    return v1
}
```

```
function %ireduce_i8(i16 [%rdi]) -> i8 [%rax] fast {
                                ebb0(v0: i16):
                                    v1 = ireduce.i8 v0
[Op1ret#c3]                         return v1
                                    ^~~~~~ verifier inst1: v1 is a ghost value used by a real [Op1ret#c3] instruction

}
```

Edit: update for #524
Edit2: add isplit.i32 and iconcat.i32
Edit3: removed isplit.i32 and iconcat.i32


Last updated: Oct 23 2024 at 20:03 UTC