Skip to content
Snippets Groups Projects
Commit b06173dd authored by Tony Wasserka's avatar Tony Wasserka Committed by Eric Engestrom
Browse files

nir/lower_idiv: Port recent LLVM fixes to emit_udiv


This change fixes off-by-one results in corner cases such as
0xffffffff / 0x11111111. For details refer to LLVM bug 46212.

Fixes: 8b98d095 ('nir/lower_idiv: add new llvm-based path')
Reviewed-by: default avatarRhys Perry <pendingchaos02@gmail.com>
Part-of: <!6281>
(cherry picked from commit 8277334f)
parent 2211d905
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment