mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-10-06 07:54:41 +01:00
Add a distinct semir file separator. (#3438)
This removes the filename from the file-scoped block, and places it above to make it clear where the full SemIR begins (with multifile, providing a barrier between).
This commit is contained in:
+4
-1
@@ -6,12 +6,14 @@
|
||||
|
||||
var a: [i32; 9] = (1, 2, 3, 4, 5, 6, 7, 8, 9);
|
||||
|
||||
// CHECK:STDOUT: --- nine_elements.carbon
|
||||
// CHECK:STDOUT:
|
||||
// CHECK:STDOUT: constants {
|
||||
// CHECK:STDOUT: %.loc7_15: type = ptr_type [i32; 9]
|
||||
// CHECK:STDOUT: %.loc7_45: type = tuple_type (i32, i32, i32, i32, i32, i32, i32, i32, i32)
|
||||
// CHECK:STDOUT: }
|
||||
// CHECK:STDOUT:
|
||||
// CHECK:STDOUT: file "nine_elements.carbon" {
|
||||
// CHECK:STDOUT: file {
|
||||
// CHECK:STDOUT: %.loc7_14: i32 = int_literal 9
|
||||
// CHECK:STDOUT: %.loc7_15: type = array_type %.loc7_14, i32
|
||||
// CHECK:STDOUT: %a.var: ref [i32; 9] = var a
|
||||
@@ -57,3 +59,4 @@ var a: [i32; 9] = (1, 2, 3, 4, 5, 6, 7, 8, 9);
|
||||
// CHECK:STDOUT: %.loc7_45.30: init [i32; 9] = converted %.loc7_45.1, %.loc7_45.29
|
||||
// CHECK:STDOUT: assign %a.var, %.loc7_45.30
|
||||
// CHECK:STDOUT: }
|
||||
// CHECK:STDOUT:
|
||||
|
||||
Reference in New Issue
Block a user