Rename {Tuple,Struct}Value -> {Tuple,Struct}Literal. (#3213)

This better reflects the purpose of these semantics nodes, and prepares
for adding TupleValue and TupleInit nodes to represent forming values
and initializers from literals.
This commit is contained in:
Richard Smith
2023-09-12 21:48:15 +00:00
committed by GitHub
parent 7dc1d627d7
commit 7d0f7b5e8f
63 changed files with 148 additions and 145 deletions
+1 -1
View File
@@ -24,7 +24,7 @@ fn Main() {
// CHECK:STDOUT:
// CHECK:STDOUT: fn @Main() {
// CHECK:STDOUT: !entry:
// CHECK:STDOUT: %.loc12_9.1: () = tuple_value ()
// CHECK:STDOUT: %.loc12_9.1: () = tuple_literal ()
// CHECK:STDOUT: %.loc12_9.2: () = stub_reference %.loc12_9.1
// CHECK:STDOUT: %.loc12_7: init () = call @Echo(%.loc12_9.2)
// CHECK:STDOUT: return