Skip to content
Commit edbf1eb4 authored by Tom Stellard's avatar Tom Stellard
Browse files

R600/SI: Avoid generating S_MOVs with 64-bit immediates v2



SITargetLowering::analyzeImmediate() was converting the 64-bit values
to 32-bit and then checking if they were an inline immediate.  Some
of these conversions caused this check to succeed and produced
S_MOV instructions with 64-bit immediates, which are illegal.

v2:
  - Clean up logic

Reviewed-by: default avatarChristian König <christian.koenig@amd.com>
llvm-svn: 178927
parent ed6a2859
Loading
Loading
Loading
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