mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-27 06:54:30 +00:00
Fix a place that was clearly forgotten when the type legalization
logic moved over to its own enum. Noticed by Andrey Karpov with the PVS-studio tool. llvm-svn: 136881
This commit is contained in:
parent
2da6e6a1d8
commit
b034709948
@ -265,9 +265,9 @@ public:
|
||||
assert(!VT.isVector());
|
||||
while (true) {
|
||||
switch (getTypeAction(Context, VT)) {
|
||||
case Legal:
|
||||
case TypeLegal:
|
||||
return VT;
|
||||
case Expand:
|
||||
case TypeExpandInteger:
|
||||
VT = getTypeToTransformTo(Context, VT);
|
||||
break;
|
||||
default:
|
||||
|
Loading…
x
Reference in New Issue
Block a user