Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / llvm / test / MC / ARM / Windows / literals-comments.s
blobe2dda54d344289c0025b77a9f34ab19eef747dbb
1 @ RUN: llvm-mc -triple armv7-windows-gnu -filetype obj -o %t.obj %s
2 @ RUN: llvm-objdump --no-print-imm-hex -d %t.obj | FileCheck %s
3 @ RUN: llvm-mc -triple armv7-windows-msvc -filetype obj -o %t.obj %s
4 @ RUN: llvm-objdump --no-print-imm-hex -d %t.obj | FileCheck %s
6 .syntax unified
7 .thumb
9 .text
11 .global function
12 .thumb_func
13 function:
14 @ this is a comment
15 mov r0, #42 @ this # was not
16 nop; nop @ This retains both instructions
17 bx lr
19 @ CHECK: 0: f04f 002a mov.w r0, #42
20 @ CHECK: 4: bf00 nop
21 @ CHECK: 6: bf00 nop
22 @ CHECK: 8: 4770 bx lr