[SILOpt] Allow pre-specializations for _Trivial of known size (#70256)

* [SILOpt] Allow pre-specializations for _Trivial of known size

rdar://119224542

This allows pre-specializations to be generated and applied for trivial types of a shared size.
This commit is contained in:
Dario Rexin
2023-12-08 19:42:49 -08:00
committed by GitHub
parent 1a60dae74a
commit 406fe3eed2
7 changed files with 80 additions and 41 deletions

View File

@@ -56,6 +56,9 @@ public:
}
SILModule &getModule() const { return *getPassManager().getModule(); }
irgen::IRGenModule *getIRGenModule() const {
return transform.getIRGenModule();
}
private:
SILPassManager &getPassManager() const {