summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Vectorize
diff options
context:
space:
mode:
authorGeoff Berry <gberry@codeaurora.org>2016-09-27 22:17:27 +0000
committerGeoff Berry <gberry@codeaurora.org>2016-09-27 22:17:27 +0000
commitb124331db7eda09e613d86f68376fcc67c677937 (patch)
tree91aa88f6321c028bc16aa91464451aa87dcc1523 /llvm/lib/Transforms/Vectorize
parent1142147e418d0f39ba1717ec96dd23b7f748892c (diff)
downloadbcm5719-llvm-b124331db7eda09e613d86f68376fcc67c677937.tar.gz
bcm5719-llvm-b124331db7eda09e613d86f68376fcc67c677937.zip
[TargetRegisterInfo, AArch64] Add target hook for isConstantPhysReg().
Summary: The current implementation of isConstantPhysReg() checks for defs of physical registers to determine if they are constant. Some architectures (e.g. AArch64 XZR/WZR) have registers that are constant and may be used as destinations to indicate the generated value is discarded, preventing isConstantPhysReg() from returning true. This change adds a TargetRegisterInfo hook that overrides the no defs check for cases such as this. Reviewers: MatzeB, qcolombet, t.p.northover, jmolloy Subscribers: junbuml, aemerson, mcrosier, rengolin Differential Revision: https://reviews.llvm.org/D24570 llvm-svn: 282543
Diffstat (limited to 'llvm/lib/Transforms/Vectorize')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud