Skip to content

Commit 01172db

Browse files
Fix 103544 and 103556 (#103590)
* Ensure folding MultiplyByScalar broadcasts up to the right length * Fix the ConstantExpected attributes for AdvSimd shift APIs * Ensure the reference assembly is also updated * Update the supression file for net8 vs net9
1 parent 93eacbd commit 01172db

File tree

5 files changed

+2305
-780
lines changed

5 files changed

+2305
-780
lines changed

src/coreclr/jit/gentree.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29916,7 +29916,9 @@ GenTree* Compiler::gtFoldExprHWIntrinsic(GenTreeHWIntrinsic* tree)
2991629916

2991729917
// MultiplyByScalar takes a vector as the second operand but only utilizes element 0
2991829918
// We need to extract it and then functionally broadcast it up for the evaluation to
29919-
// work as expected.
29919+
// work as expected. Ensuring we broadcast up to the target vector size.
29920+
29921+
otherNode->gtType = retType;
2992029922

2992129923
if (varTypeIsFloating(simdBaseType))
2992229924
{

0 commit comments

Comments
 (0)