aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Object/MachOObjectFile.cpp
diff options
context:
space:
mode:
authorBaptiste Saleil <baptiste.saleil@ibm.com>2020-12-03 09:49:38 -0600
committerBaptiste Saleil <baptiste.saleil@ibm.com>2020-12-03 09:51:23 -0600
commit45ec3a37b0a54e34e8f47cdac2be495838f93675 (patch)
tree68d0df18a2e08dd4b4bf90d273be7f609fad5fa9 /llvm/lib/Object/MachOObjectFile.cpp
parentaa1155634fe41a53988a277ca7668a8d69f59f94 (diff)
downloadllvm-45ec3a37b0a54e34e8f47cdac2be495838f93675.zip
llvm-45ec3a37b0a54e34e8f47cdac2be495838f93675.tar.gz
llvm-45ec3a37b0a54e34e8f47cdac2be495838f93675.tar.bz2
[PowerPC] Fix for excessive ACC copies due to PHI nodes
When using accumulators in loops, they are passed around in PHI nodes of unprimed accumulators, causing the generation of additional prime/unprime instructions. This patch detects these cases and changes these PHI nodes to primed accumulator PHI nodes. We also add IR and MIR test cases for several PHI node cases. Differential Revision: https://reviews.llvm.org/D91391
Diffstat (limited to 'llvm/lib/Object/MachOObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions