commit | ed744827041a97336461abdc91b43fd0eafb869c | [log] [tgz] |
---|---|---|
author | Jakob Stoklund Olesen <stoklund@2pi.dk> | Sat Oct 08 18:28:28 2011 +0000 |
committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | Sat Oct 08 18:28:28 2011 +0000 |
tree | c0afdff591d94ef9b85d826b8b241fc4c16b19bc | |
parent | a55f6575aede9a47ce95b4d195eae72e989cde19 [diff] |
Add TEST8ri_NOREX pseudo to constrain sub_8bit_hi copies. In 64-bit mode, sub_8bit_hi sub-registers can only be used by NOREX instructions. The COPY created from the EXTRACT_SUBREG DAG node cannot target all GR8 registers, only those in GR8_NOREX. TO enforce this, we ensure that all instructions using the EXTRACT_SUBREG are GR8_NOREX constrained. This fixes PR11088. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@141499 91177308-0d34-0410-b5e6-96231b3b80d8