Displaying 2 results from an estimated 2 matches for "wasi32".
Did you mean:
asu32
2018 Dec 13
2
Dealing with information loss for widened integer operations at ISel time
...shl
val, (and shamt, 31)) before it gets widened to i64. But this runs the risk
of introducing an unnecessary AND operation if it turns out that the
SelectionDAG node is transformed by the time it reaches instruction selection.
So for this particular issue with shifts, introducing a target-specific WasI32
node and converting to (shl val, (WasI32 shamt)) in a target DAG combine looks
plausible.
Thanks,
Alex
2018 Dec 14
2
Dealing with information loss for widened integer operations at ISel time
...re it gets widened to i64. But this runs the risk
> > of introducing an unnecessary AND operation if it turns out that the
> > SelectionDAG node is transformed by the time it reaches instruction selection.
> > So for this particular issue with shifts, introducing a target-specific WasI32
> > node and converting to (shl val, (WasI32 shamt)) in a target DAG combine looks
> > plausible.
>
> You can represent "WasI32" using AssertZext i5. That seems like a
> reasonable approach.
I hadn't considered AssertZext, thanks for the suggestion. Don't we...