Skip to content

Commit bc78797

Browse files
committed
[CIR][NFC] Update wrong comments from previous commit
1 parent 871adbd commit bc78797

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

clang/test/CIR/CodeGen/eh.cpp

+1-3
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ void test1() {
1212
}
1313

1414
// CIR-LABEL: @_Z5test1v
15-
// FIXME: this is overaligned, should be 4.
1615
// CIR: %[[ALLOC:.*]] = cir.alloc.exception 8 -> !cir.ptr<!ty_test1_D>
1716
// CIR: %[[G:.*]] = cir.get_global @d1 : !cir.ptr<!ty_test1_D>
1817
// CIR: cir.call @_ZN7test1_DC1ERKS_(%[[ALLOC]], %[[G]]) : (!cir.ptr<!ty_test1_D>, !cir.ptr<!ty_test1_D>) -> ()
@@ -21,10 +20,9 @@ void test1() {
2120
// CIR: }
2221

2322
// LLVM-LABEL: @_Z5test1v
24-
// FIXME: this is overaligned, should be 4.
2523
// LLVM: %[[ALLOC:.*]] = call ptr @__cxa_allocate_exception(i64 8)
2624

27-
// FIXME: this is a simple store once we fix isTrivialCtorOrDtor().
25+
// FIXME: this is a llvm.memcpy.p0.p0.i64 once we fix isTrivialCtorOrDtor().
2826
// LLVM: call void @_ZN7test1_DC1ERKS_(ptr %[[ALLOC]], ptr @d1)
2927
// LLVM: call void @__cxa_throw(ptr %[[ALLOC]], ptr @_ZTI7test1_D, ptr null)
3028
// LLVM: unreachable

0 commit comments

Comments
 (0)