mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-22 18:54:02 +01:00
[Hexagon] Add missing assignment to Itinerary in Call_nr
The class definition for Call_nr has the itinerary as a parameter, but the value is never assigned to the Itinerary field for the instruction. This means the compiler is unable to schedule and packetize the instruction correctly because these instrution will not have any resource descritions. I don't have a specific test case, but the ps_call_nr.ll test failed with a proposed patch. llvm-svn: 345442
This commit is contained in:
parent
f2875b0f69
commit
8f39447d65
@ -208,6 +208,7 @@ class Call_nr<bits<5> nbits, bit isPred, bit isFalse, dag iops,
|
|||||||
let isPredicable = 0; // !if(isPred, 0, 1);
|
let isPredicable = 0; // !if(isPred, 0, 1);
|
||||||
let isPredicated = 0; // isPred;
|
let isPredicated = 0; // isPred;
|
||||||
let isPredicatedFalse = isFalse;
|
let isPredicatedFalse = isFalse;
|
||||||
|
let Itinerary = itin;
|
||||||
}
|
}
|
||||||
|
|
||||||
def PS_call_nr : Call_nr<24, 0, 0, (ins s32_0Imm:$Ii), J2_call.Itinerary>;
|
def PS_call_nr : Call_nr<24, 0, 0, (ins s32_0Imm:$Ii), J2_call.Itinerary>;
|
||||||
|
Loading…
Reference in New Issue
Block a user