summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/X86/X86FloatingPoint.cpp
diff options
context:
space:
mode:
authorMatthias Braun <matze@braunis.de>2016-05-03 00:24:32 +0000
committerMatthias Braun <matze@braunis.de>2016-05-03 00:24:32 +0000
commitd1aabb28134a7e72ce4d6ac26b093648f5c57e88 (patch)
tree2442763e87b35507f5fc54eb68af0e6ff1d6a223 /llvm/lib/Target/X86/X86FloatingPoint.cpp
parenta4e71bd11a8cbec276460bb3db47283fc3b05428 (diff)
downloadbcm5719-llvm-d1aabb28134a7e72ce4d6ac26b093648f5c57e88.tar.gz
bcm5719-llvm-d1aabb28134a7e72ce4d6ac26b093648f5c57e88.zip
livePhysRegs: Pass MBB by reference in addLive{Ins|Outs}(); NFC
The block must no be nullptr for the addLiveIns()/addLiveOuts() function. llvm-svn: 268340
Diffstat (limited to 'llvm/lib/Target/X86/X86FloatingPoint.cpp')
-rw-r--r--llvm/lib/Target/X86/X86FloatingPoint.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/X86/X86FloatingPoint.cpp b/llvm/lib/Target/X86/X86FloatingPoint.cpp
index 26c54049886..9aafa896e87 100644
--- a/llvm/lib/Target/X86/X86FloatingPoint.cpp
+++ b/llvm/lib/Target/X86/X86FloatingPoint.cpp
@@ -1624,7 +1624,7 @@ void FPS::setKillFlags(MachineBasicBlock &MBB) const {
MBB.getParent()->getSubtarget().getRegisterInfo();
LivePhysRegs LPR(TRI);
- LPR.addLiveOuts(&MBB);
+ LPR.addLiveOuts(MBB);
for (MachineBasicBlock::reverse_iterator I = MBB.rbegin(), E = MBB.rend();
I != E; ++I) {
OpenPOWER on IntegriCloud