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:
Richard Smith authored and GitHub committed 2023-08-09 03:09:03 +00:00
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: }