mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 11:13:28 +01:00
[ARM][LegalizerInfo] Specify the type of the opcode.
This is to fix the win7 bot that does not seem to be very good at infering the type when it gets used in an initiliazer list. llvm-svn: 293248
This commit is contained in:
parent
d64ad4bebc
commit
5e270c0323
@ -42,7 +42,7 @@ ARMLegalizerInfo::ARMLegalizerInfo() {
|
||||
for (auto Ty : {s1, s8, s16, s32})
|
||||
setAction({G_ADD, Ty}, Legal);
|
||||
|
||||
for (auto Op : {G_SEXT, G_ZEXT}) {
|
||||
for (unsigned Op : {G_SEXT, G_ZEXT}) {
|
||||
setAction({Op, s32}, Legal);
|
||||
for (auto Ty : {s1, s8, s16})
|
||||
setAction({Op, 1, Ty}, Legal);
|
||||
|
Loading…
Reference in New Issue
Block a user