Reviewed-by: Bas Nieuwenhuizen
On Mon, Mar 13, 2017 at 9:52 PM, Dave Airlie wrote:
> From: Dave Airlie
>
> Ported from radeonsi, pointed out by Tom.
>
> "This prevents LLVM from using sext instructions for local memory
> offsets
On Tue, Mar 14, 2017 at 06:52:19AM +1000, Dave Airlie wrote:
> From: Dave Airlie
>
> Ported from radeonsi, pointed out by Tom.
>
> "This prevents LLVM from using sext instructions for local memory
> offsets and allows the backend to fold immediate offsets into the
>
From: Dave Airlie
Ported from radeonsi, pointed out by Tom.
"This prevents LLVM from using sext instructions for local memory
offsets and allows the backend to fold immediate offsets into the
instruction. This also prevents some incorrect code generation for
ptrtoint and