summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/PowerPC/PPCVSXFMAMutate.cpp
diff options
context:
space:
mode:
authorNAKAMURA Takumi <geek4civic@gmail.com>2015-09-22 11:15:07 +0000
committerNAKAMURA Takumi <geek4civic@gmail.com>2015-09-22 11:15:07 +0000
commit0a7d0ad95fc1162f8266a48b88e223e24dcd4a90 (patch)
tree0c855160dad1cae23ca578887359ea9924aafcdc /llvm/lib/Target/PowerPC/PPCVSXFMAMutate.cpp
parenta9cb538a74b511aa56e4237dbdfca57e8dcc57cc (diff)
downloadbcm5719-llvm-0a7d0ad95fc1162f8266a48b88e223e24dcd4a90.tar.gz
bcm5719-llvm-0a7d0ad95fc1162f8266a48b88e223e24dcd4a90.zip
Untabify.
llvm-svn: 248264
Diffstat (limited to 'llvm/lib/Target/PowerPC/PPCVSXFMAMutate.cpp')
-rw-r--r--llvm/lib/Target/PowerPC/PPCVSXFMAMutate.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/llvm/lib/Target/PowerPC/PPCVSXFMAMutate.cpp b/llvm/lib/Target/PowerPC/PPCVSXFMAMutate.cpp
index 692dd525152..0bd2bd84db0 100644
--- a/llvm/lib/Target/PowerPC/PPCVSXFMAMutate.cpp
+++ b/llvm/lib/Target/PowerPC/PPCVSXFMAMutate.cpp
@@ -186,12 +186,12 @@ protected:
if (!KilledProdOp)
continue;
- // If the addend copy is used only by this MI, then the addend source
- // register is likely not live here. This could be fixed (based on the
- // legality checks above, the live range for the addend source register
- // could be extended), but it seems likely that such a trivial copy can
- // be coalesced away later, and thus is not worth the effort.
- if (TargetRegisterInfo::isVirtualRegister(AddendSrcReg) &&
+ // If the addend copy is used only by this MI, then the addend source
+ // register is likely not live here. This could be fixed (based on the
+ // legality checks above, the live range for the addend source register
+ // could be extended), but it seems likely that such a trivial copy can
+ // be coalesced away later, and thus is not worth the effort.
+ if (TargetRegisterInfo::isVirtualRegister(AddendSrcReg) &&
!LIS->getInterval(AddendSrcReg).liveAt(FMAIdx))
continue;
OpenPOWER on IntegriCloud