[clang] 75cf826 - [KeyInstr][Clang] Fix atomic ops atoms test
Orlando Cazalet-Hyams via cfe-commits
cfe-commits at lists.llvm.org
Tue Jun 24 06:37:27 PDT 2025
Author: Orlando Cazalet-Hyams
Date: 2025-06-24T14:37:21+01:00
New Revision: 75cf826849713c00829cdf657e330e24c1a2fd03
URL: https://github.com/llvm/llvm-project/commit/75cf826849713c00829cdf657e330e24c1a2fd03
DIFF: https://github.com/llvm/llvm-project/commit/75cf826849713c00829cdf657e330e24c1a2fd03.diff
LOG: [KeyInstr][Clang] Fix atomic ops atoms test
Fixup test added in #141624 (ddecfa696c4929ac364053f3eef66fefe4873448).
Added:
Modified:
clang/test/DebugInfo/KeyInstructions/atomic.c
Removed:
################################################################################
diff --git a/clang/test/DebugInfo/KeyInstructions/atomic.c b/clang/test/DebugInfo/KeyInstructions/atomic.c
index da54e37714c3a..c25f4385843b9 100644
--- a/clang/test/DebugInfo/KeyInstructions/atomic.c
+++ b/clang/test/DebugInfo/KeyInstructions/atomic.c
@@ -102,6 +102,8 @@ void fun() {
// CHECK-NEXT: %loadedv20 = trunc i8 %28 to i1, !dbg [[LINE87_G15R3:!.*]]
// CHECK-NEXT: %conv21 = zext i1 %loadedv20 to i32, !dbg [[LINE87_G15R2:!.*]]
// CHECK-NEXT: store i32 %conv21, ptr %r7, align 4, !dbg [[LINE87_G15R1:!.*]]
+
+// CHECK: ret{{.*}}, !dbg [[RET:!.*]]
}
// CHECK: [[LINE11_G2R1]] = !DILocation(line: 11, scope: ![[#]], atomGroup: 2, atomRank: 1)
@@ -160,3 +162,5 @@ void fun() {
// CHECK: [[LINE87_G15R3]] = !DILocation(line: 87, scope: ![[#]], atomGroup: 15, atomRank: 3)
// CHECK: [[LINE87_G15R2]] = !DILocation(line: 87, scope: ![[#]], atomGroup: 15, atomRank: 2)
// CHECK: [[LINE87_G15R1]] = !DILocation(line: 87, scope: ![[#]], atomGroup: 15, atomRank: 1)
+
+// CHECK: [[RET]] = !DILocation({{.*}}, atomGroup: 17, atomRank: 1)
More information about the cfe-commits
mailing list