mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
IRGen: Outline by-address SIL enum instructions
Use a heuristic to decide when to outline indirect enum operations.
This commit is contained in:
@@ -230,6 +230,7 @@ IRGenModule::IRGenModule(IRGenerator &irgen,
|
||||
EnableValueNames = opts.shouldProvideValueNames();
|
||||
|
||||
VoidTy = llvm::Type::getVoidTy(getLLVMContext());
|
||||
PtrTy = llvm::PointerType::getUnqual(getLLVMContext());
|
||||
Int1Ty = llvm::Type::getInt1Ty(getLLVMContext());
|
||||
Int8Ty = llvm::Type::getInt8Ty(getLLVMContext());
|
||||
Int16Ty = llvm::Type::getInt16Ty(getLLVMContext());
|
||||
|
||||
Reference in New Issue
Block a user