aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2011-04-09 19:41:05 +0000
committerChris Lattner <sabre@nondot.org>2011-04-09 19:41:05 +0000
commit15f895179953b258e4ca20860d0d58f25f3a3edb (patch)
treeb0365d3869ae8c88225363069743a4bc993045a6 /test
parent008c93e8848945469cd382fc6b48c1b302ec903d (diff)
downloadexternal_llvm-15f895179953b258e4ca20860d0d58f25f3a3edb.zip
external_llvm-15f895179953b258e4ca20860d0d58f25f3a3edb.tar.gz
external_llvm-15f895179953b258e4ca20860d0d58f25f3a3edb.tar.bz2
fix rdar://8735979 - "int 3" doesn't match to "int3". Unfortunately,
InstAlias doesn't allow matching immediate operands, so we have to write C++ code to do this. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@129223 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r--test/MC/X86/x86-64.s4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/MC/X86/x86-64.s b/test/MC/X86/x86-64.s
index 1d41d5b..80b12db 100644
--- a/test/MC/X86/x86-64.s
+++ b/test/MC/X86/x86-64.s
@@ -190,6 +190,10 @@ fadd %st(7)
// CHECK: int3
INT3
+// rdar://8735979 - int $3 -> int3
+// CHECK: int3
+int $3
+
// Allow scale factor without index register.
// CHECK: movaps %xmm3, (%esi)