[all-commits] [llvm/llvm-project] 9de124: [PowerPC][Future] Branch Distance Estimation For P...
stefanp-ibm via All-commits
all-commits at lists.llvm.org
Thu Jan 30 06:58:17 PST 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 9de1241bb2dd1b0e39bb695c701f2d299776ff6b
https://github.com/llvm/llvm-project/commit/9de1241bb2dd1b0e39bb695c701f2d299776ff6b
Author: Stefan Pintilie <stefanp at ca.ibm.com>
Date: 2020-01-30 (Thu, 30 Jan 2020)
Changed paths:
M llvm/lib/Target/PowerPC/PPCBranchSelector.cpp
A llvm/test/CodeGen/PowerPC/alignlongjumptest.mir
Log Message:
-----------
[PowerPC][Future] Branch Distance Estimation For Prefixed Instructions
By adding the prefixed instructions the branch distances are no longer
computed correctly. Since prefixed instructions cannot cross a 64 byte
boundary we have to assume that a prefixed instruction may have a nop
prepended to it. This patch tries to take that nop into consideration
when computing the size of basic blocks.
Differential Revision: https://reviews.llvm.org/D72572
More information about the All-commits
mailing list