mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-10-05 22:02:55 +01:00
Add evaluation for conversion instructions. (#3594)
Also some finessing of evaluation for other instruction kinds and some additional testing.
This commit is contained in:
@@ -36,7 +36,7 @@ fn Main() {
|
||||
// CHECK:STDOUT: %Echo.ref: <function> = name_ref Echo, file.%Echo, const = file.%Echo
|
||||
// CHECK:STDOUT: %.loc12_9.1: () = tuple_literal ()
|
||||
// CHECK:STDOUT: %.loc12_9.2: () = tuple_value (), const = constants.%.loc12
|
||||
// CHECK:STDOUT: %.loc12_9.3: () = converted %.loc12_9.1, %.loc12_9.2
|
||||
// CHECK:STDOUT: %.loc12_9.3: () = converted %.loc12_9.1, %.loc12_9.2, const = constants.%.loc12
|
||||
// CHECK:STDOUT: %.loc12_7: init () = call %Echo.ref(%.loc12_9.3)
|
||||
// CHECK:STDOUT: return
|
||||
// CHECK:STDOUT: }
|
||||
|
||||
Reference in New Issue
Block a user