mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-11-23 15:52:42 +00:00
Lowering of Branch / BranchIf / BranchWithArg / BlockArg. (#2904)
This gives us complete lowering of `if` expressions plus `and` and `or`. Co-authored-by: Jon Ross-Perkins <jperkins@google.com>
This commit is contained in:
1 parent
c27f41c94b
commit
0d4d392d12
44 files changed
+453
-91
No files matched your search
@@ -9,11 +9,9 @@
|
||||
// CHECK:STDOUT: %EmptyTupleType = type {}
|
||||
// CHECK:STDOUT:
|
||||
// CHECK:STDOUT: define %EmptyTupleType @Foo() {
|
||||
// CHECK:STDOUT: entry:
|
||||
// CHECK:STDOUT: }
|
||||
// CHECK:STDOUT:
|
||||
// CHECK:STDOUT: define %EmptyTupleType @Main() {
|
||||
// CHECK:STDOUT: entry:
|
||||
// CHECK:STDOUT: %Foo = call %EmptyTupleType @Foo()
|
||||
// CHECK:STDOUT: }
|
||||
|
||||
|
||||
Reference in new issue
Block a user