Fix handling of CreateScalarUnsafe for embedded broadcast (#87134)
authorTanner Gooding <tagoo@outlook.com>
Wed, 7 Jun 2023 18:05:27 +0000 (11:05 -0700)
committerGitHub <noreply@github.com>
Wed, 7 Jun 2023 18:05:27 +0000 (11:05 -0700)
commiteb09ba9d222463daf604e7a4b7cdf18732afdbfd
tree6db9d1e425b91d8b61f9de4f08d783d93d8d1d46
parent54dab738de58291ebefc8ff0569a799efaff5d82
Fix handling of CreateScalarUnsafe for embedded broadcast (#87134)

* Adding a regression test for dotnet/runtime#87116

* Ensure IsContainableHWIntrinsicOp takes into account whether CreateScalarUnsafe is coming from memory for embedded broadcast
src/coreclr/jit/gentree.cpp
src/coreclr/jit/gentree.h
src/coreclr/jit/lowerxarch.cpp
src/tests/JIT/Regression/JitBlue/Runtime_87116/Runtime_87116.cs [new file with mode: 0644]
src/tests/JIT/Regression/JitBlue/Runtime_87116/Runtime_87116.csproj [new file with mode: 0644]