diff options
author | Kevin Enderby <enderby@apple.com> | 2012-03-12 21:32:09 +0000 |
---|---|---|
committer | Kevin Enderby <enderby@apple.com> | 2012-03-12 21:32:09 +0000 |
commit | 84faf659125cb354794e457fa5a8a8daad84760d (patch) | |
tree | 7a6839491302358b23187a26eec79fc674c1b787 /test/MC/X86/x86_errors.s | |
parent | a185362095c0a6138216e61d4a767b930bcc7826 (diff) |
Added a missing error check for X86 assembly with mismatched base and index
registers not both being 64-bit or both being 32-bit registers.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@152580 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/MC/X86/x86_errors.s')
-rw-r--r-- | test/MC/X86/x86_errors.s | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/MC/X86/x86_errors.s b/test/MC/X86/x86_errors.s index 8f2e1af40b..f161e06cb5 100644 --- a/test/MC/X86/x86_errors.s +++ b/test/MC/X86/x86_errors.s @@ -24,3 +24,7 @@ sysexitq // rdar://10710167 // 64: error: expected scale expression lea (%rsp, %rbp, $4), %rax + +// rdar://10423777 +// 64: error: index register is 32-bit, but base register is 64-bit +movq (%rsi,%ecx),%xmm0 |