xref: /llvm-project/clang/test/Misc/cc1as-relax-all.s (revision 8ad092f126bd1d6f9fe6006eba1e3115a080235e)
1// REQUIRES: x86-registered-target
2// RUN: %clang -cc1as -triple x86_64 -filetype obj -mrelax-all %s -o %t.o
3// RUN: llvm-objdump -d %t.o | FileCheck %s
4
5// CHECK:      <.text>:
6// CHECK-NEXT:   0: e9 06 00 00 00                jmp     0xb <foo>
7// CHECK-NEXT:   5: 0f 84 00 00 00 00             je      0xb <foo>
8// CHECK-EMPTY:
9
10jmp foo
11je foo
12
13foo: ret
14