Skip to content

Commit 47d4083

Browse files
committed
Update the name of test function
1 parent 8cab15b commit 47d4083

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

clang/test/CIR/CodeGen/array.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -576,7 +576,7 @@ void func12() {
576576

577577
// OGCG: %[[ARR:.*]] = alloca [4 x %struct.Point], align 16
578578

579-
void foo13() {
579+
void array_with_complex_elements() {
580580
_Complex float arr[2] = {{1.1f, 2.2f}, {3.3f, 4.4f}};
581581
}
582582

@@ -596,4 +596,4 @@ void foo13() {
596596
// LLVM: store { float, float } { float 0x400A666660000000, float 0x40119999A0000000 }, ptr %[[ARR_1]], align 8
597597

598598
// OGCG: %[[ARR_ADDR:.*]] = alloca [2 x { float, float }], align 16
599-
// OGCG: call void @llvm.memcpy.p0.p0.i64(ptr align 16 %[[ARR_ADDR]], ptr align 16 @__const._Z5foo13v.arr, i64 16, i1 false)
599+
// OGCG: call void @llvm.memcpy.p0.p0.i64(ptr align 16 %[[ARR_ADDR]], ptr align 16 @__const._Z27array_with_complex_elementsv.arr, i64 16, i1 false)

0 commit comments

Comments
 (0)