1# RUN: llvm-mc -preserve-comments -triple amdgcn-amd- %s >%t-1.s
2# RUN: llvm-mc -preserve-comments -triple amdgcn-amd- %t-1.s >%t-2.s
3# RUN: diff %t-1.s %t-2.s
4
5# Test that AMDGPU assembly round-trips when run through MC; the first
6# transition from hand-written to "canonical" output may introduce some small
7# differences, so we don't include the initial input in the comparison.
8
9.text
10
11# The AMDGPU asm parser didn't consume the end of statement
12# consistently, which led to extra empty lines in the output.
13s_nop 0
14