diff options
author | Jason Ekstrand <[email protected]> | 2018-11-07 15:40:02 -0600 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2018-12-05 15:02:56 -0600 |
commit | 05af952a1102b47e11b41991e7cee1e557279a96 (patch) | |
tree | f72a0aedb628dcaf3aeb16da5345a9d8811c96bb /src/compiler/nir/nir_opcodes.py | |
parent | 4925290ab1771d075c994ac23e0c0a3c19d3a50e (diff) |
nir/algebraic: Add support for unsized conversion opcodes
All conversion opcodes require a destination size but this makes
constructing certain algebraic expressions rather cumbersome. This
commit adds support to nir_search and nir_algebraic for writing
conversion opcodes without a size. These meta-opcodes match any
conversion of that type regardless of destination size and the size gets
inferred from the sizes of the things being matched or from other
opcodes in the expression.
Reviewed-by: Connor Abbott <[email protected]>
Diffstat (limited to 'src/compiler/nir/nir_opcodes.py')
0 files changed, 0 insertions, 0 deletions