mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-05 10:39:21 +00:00
[fast-isel] Make sure the FastLowerArguments function checks to make sure the
arguments type is a simple type. rdar://13290455 llvm-svn: 176066
This commit is contained in:
parent
ad0b9ecc47
commit
5d41dc7229
@ -2922,6 +2922,7 @@ bool ARMFastISel::FastLowerArguments() {
|
||||
return false;
|
||||
|
||||
EVT ArgVT = TLI.getValueType(ArgTy);
|
||||
if (!ArgVT.isSimple()) return false;
|
||||
switch (ArgVT.getSimpleVT().SimpleTy) {
|
||||
case MVT::i8:
|
||||
case MVT::i16:
|
||||
|
@ -1555,6 +1555,7 @@ bool X86FastISel::FastLowerArguments() {
|
||||
return false;
|
||||
|
||||
EVT ArgVT = TLI.getValueType(ArgTy);
|
||||
if (!ArgVT.isSimple()) return false;
|
||||
switch (ArgVT.getSimpleVT().SimpleTy) {
|
||||
case MVT::i32:
|
||||
case MVT::i64:
|
||||
|
Loading…
Reference in New Issue
Block a user