Skip to content

Commit 752ef93

Browse files
authored
[NFC][clang] Fix header comment in llvm/test/MC/AArch64/local-bounds-single-trap.ll (#117642)
llvm/test/MC/AArch64/local-bounds-single-trap.ll was introduced in #65972 to demonstrate that nomerge did not work properly, which is documented in the header comment. #101549 fixed nomerge for trap builtins and ae6dc64 updated the test assertions, but not the header comment. This patch updates the header comment accordingly.
1 parent 5683fc5 commit 752ef93

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)