mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-20 03:23:01 +02:00
[PowerPC] Minor correction to r226432
We don't need to exclude patchpoints from the implicit r2 dependence in FastISel because it is added as an implicit operand and, thus, should not confuse that StackMap code. By inspection / no test case. llvm-svn: 226434
This commit is contained in:
parent
83ab484af5
commit
3eec8e9415
@ -1526,8 +1526,7 @@ bool PPCFastISel::fastLowerCall(CallLoweringInfo &CLI) {
|
||||
|
||||
// Direct calls, in both the ELF V1 and V2 ABIs, need the TOC register live
|
||||
// into the call.
|
||||
if (!CLI.IsPatchPoint)
|
||||
MIB.addReg(PPC::X2, RegState::Implicit);
|
||||
MIB.addReg(PPC::X2, RegState::Implicit);
|
||||
|
||||
// Add a register mask with the call-preserved registers. Proper
|
||||
// defs for return values will be added by setPhysRegsDeadExcept().
|
||||
|
Loading…
Reference in New Issue
Block a user