Skip to content

feat: Improve runtime ternary support #2587

@iwoplaza

Description

@iwoplaza

Cases where it can fail currently:

(b > w) ? (b - w) : (w - b)
(r === d.u32(2)) ? RotLut2Gpu.$[bitU] : RotLut3Gpu.$[bitU]
(r === d.u32(1)) ? v1 : ((r === d.u32(2)) ? v2 : v3)
isCustom ? layout.$.customCodewords[customIdx].low : layout.$.codewords[cwIdx].low
isCustom ? customCw.low : stdCw.low
isCustom ? (d.u32(1) << d.u32(20)) : d.u32(0)

Metadata

Metadata

Assignees

No one assigned
    No fields configured for Feature.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions