mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-11-18 00:20:28 +00:00
Make LLVM IR emission a bit more concise and readable. (#3078)
Provide LLVM IR names for named types, and not for unnamed types. Use shorter names for IR values.
This commit is contained in:
1 parent
2947877518
commit
927375f9c6
32 files changed
+202
-218
No files matched your search
@@ -15,6 +15,6 @@ fn G(n: i32) { F(n); }
|
||||
// CHECK:STDOUT:
|
||||
// CHECK:STDOUT: define void @G(i32 %n) {
|
||||
// CHECK:STDOUT: call void @F(i32 %n)
|
||||
// CHECK:STDOUT: %TupleLiteralValue = alloca {}, align 8
|
||||
// CHECK:STDOUT: %call.result = alloca {}, align 8
|
||||
// CHECK:STDOUT: ret void
|
||||
// CHECK:STDOUT: }
|
||||
Reference in new issue
Block a user