We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7342d01 commit f485764Copy full SHA for f485764
runtime/vm/compiler/backend/type_propagator.cc
@@ -1807,7 +1807,17 @@ CompileType BoxInstr::ComputeType() const {
1807
}
1808
1809
CompileType BoxLanesInstr::ComputeType() const {
1810
- return CompileType::FromUnboxedRepresentation(from_representation());
+ switch (from_representation()) {
1811
+ case kUnboxedFloat:
1812
+ return CompileType::FromCid(kFloat32x4Cid);
1813
+ case kUnboxedDouble:
1814
+ return CompileType::FromCid(kFloat64x2Cid);
1815
+ case kUnboxedInt32:
1816
+ return CompileType::FromCid(kInt32x4Cid);
1817
+ default:
1818
+ UNREACHABLE();
1819
+ return CompileType::Dynamic();
1820
+ }
1821
1822
1823
CompileType ExtractNthOutputInstr::ComputeType() const {
0 commit comments