swift
f192f474 - Workaround for test/SILOptimizer/constant_evaluable_subset_test.swift.

Commit
6 years ago
Workaround for test/SILOptimizer/constant_evaluable_subset_test.swift. This test fails because `-enable-ownership-stripping-after-serialization` was disabled for the standard library. Confirmed that re-enabling the flag makes the test pass (revert f3c7cca91fd814fcbc93189a2f47edeca67c2ae4). ``` sil-opt: include/swift/SIL/SILBuilder.h:802: swift::StoreInst *swift::SILBuilder::createStore(swift::SILLocation, swift::SILValue, swift::SILValue, swift::StoreOwnershipQualifier): Assertion `(Qualifier != StoreOwnershipQualifier::Unqualified) || !hasOwnership() && "Unqualified inst in qualified function"' failed. Stack dump: 1. While running pass #259 SILModuleTransform "MandatoryInlining". 2. While inlining SIL function "@$ss17FixedWidthIntegerPsE2lloiyxx_qd__tSzRd__lFZ". for .../test-linux-x86_64/SILOptimizer/Output/constant_evaluable_subset_test.swift.tmp/constant_evaluable_subset_test_silgen.sil:296:22 3. While ...into SIL function "@$s37constant_evaluable_subset_test_silgen18leftShiftWithTraps1x1yS2i_SitF". for .../test-linux-x86_64/SILOptimizer/Output/constant_evaluable_subset_test.swift.tmp/constant_evaluable_subset_test_silgen.sil:282:54 ``` Temporarily disabled test/SILOptimizer/constant_evaluable_subset_test.swift. TF-799 tracks re-enabling the test.
Author
Committer
Parents
Loading