add a test for the ud2a alias.
authorChris Lattner <sabre@nondot.org>
Sat, 30 Oct 2010 17:01:25 +0000 (17:01 +0000)
committerChris Lattner <sabre@nondot.org>
Sat, 30 Oct 2010 17:01:25 +0000 (17:01 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@117803 91177308-0d34-0410-b5e6-96231b3b80d8

test/MC/X86/x86-32.s

index c104f45a406ee5dce5fa452c11df568022429ca1..7407767f7a5f6acd48f61d4c108fc5f71309e2dc 100644 (file)
@@ -783,6 +783,10 @@ pshufw $90, %mm4, %mm0
 // CHECK:  encoding: [0xdb,0xe2]
                fnclex
 
+// CHECK: ud2
+// CHECK:  encoding: [0x0f,0x0b]
+               ud2
+
 // CHECK: ud2
 // CHECK:  encoding: [0x0f,0x0b]
                ud2a