This is an archive of the discontinued LLVM Phabricator instance.

[mlir][tosa] Support UInt8 inputs and outputs for tosa.rescale
ClosedPublic

Authored by rsuderman on Aug 19 2021, 5:04 PM.

Details

Summary

Tosa rescale can contain uint8 types. Added support for these types
using an unrealized conversion cast. Optimistically it would be better to
use bitcast however it does not support unsigned integers.

Diff Detail

Event Timeline

rsuderman created this revision.Aug 19 2021, 5:04 PM
rsuderman requested review of this revision.Aug 19 2021, 5:04 PM
NatashaKnk accepted this revision.Aug 19 2021, 5:14 PM
This revision is now accepted and ready to land.Aug 19 2021, 5:14 PM