Skip to content

Commit 3f38669

Browse files
committed
Comment a test case.
Very long unreadable names are not a substitute for describing a test.
1 parent 7e19c4a commit 3f38669

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

test/SILOptimizer/sil_combine_ossa.sil

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4958,6 +4958,12 @@ class KlassWithTailAllocatedElems {
49584958
init()
49594959
}
49604960

4961+
// Test conversion from address_to_pointer->pointer_to_address to
4962+
// unchecked_addr_cast when the base is an interior pointer (ref_tail_addr).
4963+
//
4964+
// RAW attempts to clone the ref_tail_addr and its access path to the
4965+
// load, which includes
4966+
//
49614967
// CHECK-LABEL: sil [ossa] @unchecked_addr_cast_formation_handling_interior_pointer_rebase_of_cast : $@convention(thin) () -> Builtin.Word {
49624968
// CHECK-NOT: pointer_to_address
49634969
// CHECK-NOT: address_to_pointer

0 commit comments

Comments
 (0)