diff options
author | Hal Finkel <hfinkel@anl.gov> | 2015-01-19 07:44:45 +0000 |
---|---|---|
committer | Hal Finkel <hfinkel@anl.gov> | 2015-01-19 07:44:45 +0000 |
commit | c3168129af076483402f40fcddc8337950ffabbd (patch) | |
tree | ad9727bba3db7d3a446664a8502481c2d5bad05c /llvm/lib/Target/PowerPC/PPCFastISel.cpp | |
parent | 54c61edee768a2da8e69bc8ba3a218d3bd9f018a (diff) | |
download | bcm5719-llvm-c3168129af076483402f40fcddc8337950ffabbd.tar.gz bcm5719-llvm-c3168129af076483402f40fcddc8337950ffabbd.zip |
[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
Diffstat (limited to 'llvm/lib/Target/PowerPC/PPCFastISel.cpp')
-rw-r--r-- | llvm/lib/Target/PowerPC/PPCFastISel.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/lib/Target/PowerPC/PPCFastISel.cpp b/llvm/lib/Target/PowerPC/PPCFastISel.cpp index 791dbbc5c42..2682bc0df53 100644 --- a/llvm/lib/Target/PowerPC/PPCFastISel.cpp +++ b/llvm/lib/Target/PowerPC/PPCFastISel.cpp @@ -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(). |