Skip to content

ir3: Make shift operand 64-bit.

Vinson Lee requested to merge vlee/mesa:fix-cid-1495267 into main

Fix defect reported by Coverity Scan.

Unintentional integer overflow (OVERFLOW_BEFORE_WIDEN) overflow_before_widen: Potentially overflowing expression 2 << W with type int (32 bits, signed) is evaluated using 32-bit arithmetic, and then used in a context that expects an expression of type uint64_t (64 bits, unsigned).

Signed-off-by: Vinson Lee vlee@freedesktop.org

Merge request reports