summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/LiveVariables.cpp
diff options
context:
space:
mode:
authorMatthias Braun <matze@braunis.de>2016-03-29 19:07:40 +0000
committerMatthias Braun <matze@braunis.de>2016-03-29 19:07:40 +0000
commit1c20c8280a493093de9c4432abc78cf57fb90bf7 (patch)
tree487d5c8313127ceb525eb2004da5261eaeb12509 /llvm/lib/CodeGen/LiveVariables.cpp
parent40b44e1d0a2beafb86d402bbed521423d473aa81 (diff)
downloadbcm5719-llvm-1c20c8280a493093de9c4432abc78cf57fb90bf7.tar.gz
bcm5719-llvm-1c20c8280a493093de9c4432abc78cf57fb90bf7.zip
LiveVariables: Fix typo and shorten comment
llvm-svn: 264768
Diffstat (limited to 'llvm/lib/CodeGen/LiveVariables.cpp')
-rw-r--r--llvm/lib/CodeGen/LiveVariables.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/llvm/lib/CodeGen/LiveVariables.cpp b/llvm/lib/CodeGen/LiveVariables.cpp
index b153260c2b5..e3d854a9ef3 100644
--- a/llvm/lib/CodeGen/LiveVariables.cpp
+++ b/llvm/lib/CodeGen/LiveVariables.cpp
@@ -529,10 +529,8 @@ void LiveVariables::runOnInstr(MachineInstr *MI,
UseRegs.push_back(MOReg);
} else {
assert(MO.isDef());
- // FIXME: We should not remove any dead flags. Howeve the MIPS RDDSP
- // instruction needs it at the moment: RDDSP gets its implicit use
- // operands added too late in the processing so InstrEmitter adds an
- // incorrect dead flag because the uses are not yet visible.
+ // FIXME: We should not remove any dead flags. However the MIPS RDDSP
+ // instruction needs it at the moment: http://llvm.org/PR27116.
if (TargetRegisterInfo::isPhysicalRegister(MOReg) &&
!MRI->isReserved(MOReg))
MO.setIsDead(false);
OpenPOWER on IntegriCloud