Add tests for NEON encoding of vsubhn and vrsubhn.
[oota-llvm.git] / test / MC / COFF / simple-fixups.s
1 // The purpose of this test is to verify that we do not produce unneeded\r
2 // relocations when symbols are in the same section and we know their offset.\r
3 \r
4 // RUN: llvm-mc -filetype=obj -triple i686-pc-win32 %s | coff-dump.py | FileCheck %s\r
5 // I WOULD RUN, BUT THIS FAILS: llvm-mc -filetype=obj -triple x86_64-pc-win32 %s | coff-dump.py | FileCheck %s\r
6 \r
7         .def     _foo;\r
8         .scl    2;\r
9         .type   32;\r
10         .endef\r
11         .text\r
12         .globl  _foo\r
13         .align  16, 0x90\r
14 _foo:                                   # @foo\r
15 # BB#0:                                 # %e\r
16         .align  16, 0x90\r
17 LBB0_1:                                 # %i\r
18                                         # =>This Inner Loop Header: Depth=1\r
19         jmp     LBB0_1\r
20 \r
21         .def     _bar;\r
22         .scl    2;\r
23         .type   32;\r
24         .endef\r
25         .globl  _bar\r
26         .align  16, 0x90\r
27 _bar:                                   # @bar\r
28 # BB#0:                                 # %e\r
29         .align  16, 0x90\r
30 LBB1_1:                                 # %i\r
31                                         # =>This Inner Loop Header: Depth=1\r
32         jmp     LBB1_1\r
33 \r
34         .def     _baz;\r
35         .scl    2;\r
36         .type   32;\r
37         .endef\r
38         .globl  _baz\r
39         .align  16, 0x90\r
40 _baz:                                   # @baz\r
41 # BB#0:                                 # %e\r
42         subl    $4, %esp\r
43 Ltmp0:\r
44         calll   _baz\r
45         addl    $4, %esp\r
46         ret\r
47 \r
48 // CHECK:     Sections = [\r
49 // CHECK-NOT: NumberOfRelocations = {{[^0]}}\r
50 // CHECK:     Symbols = [\r