summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/SelectionDAG
diff options
context:
space:
mode:
authorKrzysztof Parzyszek <kparzysz@codeaurora.org>2018-03-20 18:46:55 +0000
committerKrzysztof Parzyszek <kparzysz@codeaurora.org>2018-03-20 18:46:55 +0000
commiteb0c510ecde667cd911682cc1e855f73f341d134 (patch)
treec0c18f6a1f6298abf5e99a494d10088e49fada75 /llvm/lib/CodeGen/SelectionDAG
parentce998adf0a8f678b8121e3ce5bb6e46cd3a36d36 (diff)
downloadbcm5719-llvm-eb0c510ecde667cd911682cc1e855f73f341d134.tar.gz
bcm5719-llvm-eb0c510ecde667cd911682cc1e855f73f341d134.zip
[X86] Add phony registers for high halves of regs with low halves
Registers E[A-D]X, E[SD]I, E[BS]P, and EIP have 16-bit subregisters that cover the low halves of these registers. This change adds artificial subregisters for the high halves in order to differentiate (in terms of register units) between the 32- and the low 16-bit registers. This patch contains parts that aim to preserve the calculated register pressure. This is in order to preserve the current codegen (minimize the impact of this patch). The approach of having artificial subregisters could be used to fix PR23423, but the pressure calculation would need to be changed. Differential Revision: https://reviews.llvm.org/D43353 llvm-svn: 328016
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud