We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5bea3d6 commit 6ac40a9Copy full SHA for 6ac40a9
SwiftCompilerSources/Sources/Optimizer/FunctionPasses/ObjectOutliner.swift
@@ -269,10 +269,7 @@ private func isValidUseOfObject(_ use: Operand) -> Bool {
269
is UpcastInst,
270
is BeginDeallocRefInst,
271
is RefTailAddrInst,
272
- is RefElementAddrInst,
273
- is StructInst,
274
- is PointerToAddressInst,
275
- is IndexAddrInst:
+ is RefElementAddrInst:
276
for instUse in (inst as! SingleValueInstruction).uses {
277
if !isValidUseOfObject(instUse) {
278
return false
0 commit comments