diff options
author | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2011-10-08 18:28:28 +0000 |
---|---|---|
committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2011-10-08 18:28:28 +0000 |
commit | 729abd360ede1d281e55092b637de29a63d5d117 (patch) | |
tree | bee843cb15cff60fc57632cedc7c33353d37adb0 /clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp | |
parent | b81dcdef7b1b7be23dbdae46e33fdf2ec14d7f9d (diff) | |
download | llvm-729abd360ede1d281e55092b637de29a63d5d117.zip llvm-729abd360ede1d281e55092b637de29a63d5d117.tar.gz llvm-729abd360ede1d281e55092b637de29a63d5d117.tar.bz2 |
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.
llvm-svn: 141499
Diffstat (limited to 'clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions