# RUN: llvm-mc -arch aarch64 -disassemble -o - %s | FileCheck %s
# RUN: llvm-mc -arch aarch64 -disassemble -o - %s | \
# RUN: llvm-mc -assemble -filetype=obj -arch aarch64 -o - | \
# RUN: llvm-objdump -r -d --triple=arm64- - | \
# RUN: FileCheck %s -check-prefix=OBJ
[0x00,0x00,0x00,0x00]
[0x01,0x02,0x00,0x00]
[0xff,0xff,0x00,0x00]
# CHECK: .text
# CHECK-NEXT: udf #0
# CHECK-NEXT: udf #513
# CHECK-NEXT: udf #65535

#OBJ: Disassembly of section .text:
#OBJ-NEXT: $x.0:
#OBJ-NEXT:        0:	00 00 00 00 	udf	#0
#OBJ-NEXT:        4:	01 02 00 00 	udf	#513
#OBJ-NEXT:        8:	ff ff 00 00 	udf	#65535

# RUN: llvm-mc -arch aarch64 -disassemble -o - %s | FileCheck %s
# RUN: llvm-mc -arch aarch64 -disassemble -o - %s | \
# RUN: llvm-mc -assemble -filetype=obj -arch aarch64 -o - | \
# RUN: llvm-objdump -r -d --triple=arm64- - | \
# RUN: FileCheck %s -check-prefix=OBJ
[0x00,0x00,0x00,0x00]
[0x01,0x02,0x00,0x00]
[0xff,0xff,0x00,0x00]

# CHECK: udf #0
# CHECK-NEXT: udf #513
# CHECK-NEXT: udf #65535

#OBJ:             0:	00 00 00 00 	udf	#0
#OBJ-NEXT:        4:	01 02 00 00 	udf	#513
#OBJ-NEXT:        8:	ff ff 00 00 	udf	#65535

Add support for UDF instruction
[FIX][AArch64] Add support for UDF instruction

Fix: Simplify test files from rL345581 failing
in windows bots.



git-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@345601 91177308-0d34-0410-b5e6-96231b3b80d8
