Skip to content

Commit ddec5e4

Browse files
committed
[clang] Fix header comment in llvm/test/MC/AArch64/local-bounds-single-trap.ll
llvm/test/MC/AArch64/local-bounds-single-trap.ll was introduced in https://github.com/llvm/llvm-project/pull/65972/files to demonstrate that nomerge did not work properly, which is documented in the header comment. llvm#101549 fixed nomerge for trap builtins and llvm@ae6dc64 updated the test assertions, but not the header comment. This patch updates the header comment accordingly.
1 parent fe3c23b commit ddec5e4

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

llvm/test/MC/AArch64/local-bounds-single-trap.ll

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
; RUN: llc -O3 -mtriple arm64-linux -filetype asm -o - %s | FileCheck %s -check-prefix CHECK-ASM
2-
; What this test does is check that even with nomerge, the functions still get merged in
3-
; compiled code as the ubsantrap call gets lowered to a single instruction: brk.
4-
2+
; This test checks that nomerge correctly prevents the traps from being merged
3+
; in the compiled code.
4+
; Prior to ae6dc64ec670891cb15049277e43133d4df7fb4b, this test showed that
5+
; nomerge did not work correctly.
56

67
@B = dso_local global [10 x i8] zeroinitializer, align 1
78
@B2 = dso_local global [10 x i8] zeroinitializer, align 1

0 commit comments

Comments
 (0)