mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-12 14:20:33 +00:00
Change the 'x' type modifier for Neon intrinsics to force a signed integer.
This makes it symmetric with the 'u' modifier that forces an unsigned type. This is needed for unsigned vector shifts, where the shift amount still needs to be signed. PR8482 (Radar 8603521). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@119742 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
d0c3817669
commit
181b76d503
@ -134,7 +134,12 @@ static char ModType(const char mod, char type, bool &quad, bool &poly,
|
||||
break;
|
||||
case 'u':
|
||||
usgn = true;
|
||||
poly = false;
|
||||
if (type == 'f')
|
||||
type = 'i';
|
||||
break;
|
||||
case 'x':
|
||||
usgn = false;
|
||||
poly = false;
|
||||
if (type == 'f')
|
||||
type = 'i';
|
||||
|
Loading…
Reference in New Issue
Block a user