summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/PowerPC/PPCFastISel.cpp
diff options
context:
space:
mode:
authorEric Christopher <echristo@gmail.com>2015-03-11 22:42:13 +0000
committerEric Christopher <echristo@gmail.com>2015-03-11 22:42:13 +0000
commit9deb75d1766f7082dfd3aeae0e2970383c0e624c (patch)
tree237dfe8edcdb1b52a974ad1d7ee68be0120b47b0 /llvm/lib/Target/PowerPC/PPCFastISel.cpp
parent1c6ff0ac2e71ecbc5118e18262986abed4d5c3c9 (diff)
downloadbcm5719-llvm-9deb75d1766f7082dfd3aeae0e2970383c0e624c.tar.gz
bcm5719-llvm-9deb75d1766f7082dfd3aeae0e2970383c0e624c.zip
Have getCallPreservedMask and getThisCallPreservedMask take a
MachineFunction argument so that we can grab subtarget specific features off of it. llvm-svn: 231979
Diffstat (limited to 'llvm/lib/Target/PowerPC/PPCFastISel.cpp')
-rw-r--r--llvm/lib/Target/PowerPC/PPCFastISel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/PowerPC/PPCFastISel.cpp b/llvm/lib/Target/PowerPC/PPCFastISel.cpp
index 54532b5473d..9dd9baa7580 100644
--- a/llvm/lib/Target/PowerPC/PPCFastISel.cpp
+++ b/llvm/lib/Target/PowerPC/PPCFastISel.cpp
@@ -1532,7 +1532,7 @@ bool PPCFastISel::fastLowerCall(CallLoweringInfo &CLI) {
// Add a register mask with the call-preserved registers. Proper
// defs for return values will be added by setPhysRegsDeadExcept().
- MIB.addRegMask(TRI.getCallPreservedMask(CC));
+ MIB.addRegMask(TRI.getCallPreservedMask(*FuncInfo.MF, CC));
CLI.Call = MIB;
OpenPOWER on IntegriCloud