Open
Description
https://godbolt.org/z/1foPhW5PT
Relevant bits:
example::write_characteristics::hd20ef966b954cd90:
sub rsp, 200
define void @example::write_characteristics::hd20ef966b954cd90(i16 noundef %c) unnamed_addr {
start:
%0 = alloca [16 x i8], align 8
%1 = alloca [16 x i8], align 8
%2 = alloca [16 x i8], align 8
%3 = alloca [16 x i8], align 8
%4 = alloca [16 x i8], align 8
%5 = alloca [16 x i8], align 8
%6 = alloca [16 x i8], align 8
%7 = alloca [16 x i8], align 8
%8 = alloca [16 x i8], align 8
%9 = alloca [16 x i8], align 8
I think all the allocas should've been merged in one, or be able to pass a pointer to a global const with the slice.
Metadata
Metadata
Assignees
Labels
Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues.Area: Code generationCategory: An issue highlighting optimization opportunities or PRs implementing suchIssue: Problems and improvements with respect to binary size of generated code.Toolchain: MSVC, Operating system: WindowsRelevant to the compiler team, which will review and decide on the PR/issue.