llvm-project
5fc1b74a - [CIR] Recognize constant aggregate initialization of auto vars (#166850)

Commit
33 days ago
[CIR] Recognize constant aggregate initialization of auto vars (#166850) This adds code that was previously missing from emitAutoVarAlloca to identify when an aggregate auto var is being emitted with a constant initializer, and the associated code that is called from emitAutoVarInit to store the constant. This allows significantly more efficient initialization.
Author
Parents
Loading