mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
LargeTypesReg2Mem: Add unchecked_bitwise_cast to the projections we need to propagate largeness from destination to source operand
rdar://148545382
This commit is contained in:
@@ -3574,6 +3574,7 @@ void LargeLoadableHeuristic::propagate(PostOrderFunctionInfo &po) {
|
||||
for (auto *BB : po.getPostOrder()) {
|
||||
for (auto &I : llvm::reverse(*BB)) {
|
||||
switch (I.getKind()) {
|
||||
case SILInstructionKind::UncheckedBitwiseCastInst:
|
||||
case SILInstructionKind::TupleExtractInst:
|
||||
case SILInstructionKind::StructExtractInst: {
|
||||
auto &proj = cast<SingleValueInstruction>(I);
|
||||
|
||||
Reference in New Issue
Block a user