summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/PowerPC/PPCTargetMachine.cpp
diff options
context:
space:
mode:
authorHal Finkel <hfinkel@anl.gov>2015-07-15 08:23:03 +0000
committerHal Finkel <hfinkel@anl.gov>2015-07-15 08:23:03 +0000
commit673b493e9859dcb63ae035a4b1de0d3cc1cb0e1d (patch)
tree5739bf0818051bb9312ae642af96b94a091bad2f /llvm/lib/Target/PowerPC/PPCTargetMachine.cpp
parente0fa8f2c8651a70562fbd2843bcaacd23544ad82 (diff)
downloadbcm5719-llvm-673b493e9859dcb63ae035a4b1de0d3cc1cb0e1d.tar.gz
bcm5719-llvm-673b493e9859dcb63ae035a4b1de0d3cc1cb0e1d.zip
[PowerPC] Extend physical register live range in PPCVSXFMAMutate
If the source of the copy that defines the addend is a physical register, then its existing live range may not extend to the FMA being mutated. Make sure we extend the live range of the register to meet the FMA because it will become its operand in this case. I don't have an independent test case, but it will be exposed by change to be committed shortly enabling the use of the machine combiner to do fadd/fmul reassociation, and will be covered by one of the associated regression tests. llvm-svn: 242278
Diffstat (limited to 'llvm/lib/Target/PowerPC/PPCTargetMachine.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud