1 ## This test checks that the unreachable unconditional branch is removed
2 ## if it is located after return instruction.
4 # REQUIRES: system-linux
6 # RUN: llvm-mc -filetype=obj -triple x86_64-unknown-unknown \
8 # RUN: %clang %cflags %t.o -o %t.exe -Wl,-q
9 # RUN: llvm-bolt %t.exe -o %t.bolt | FileCheck %s
11 # CHECK: UCE removed 1 blocks
16 .size main, .Lend-main