projects
/
platform
/
upstream
/
dotnet
/
runtime.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d6e2e93
)
Fixing hwintrinsicArm64 to return nullptr for the Base_As intrinsics if featureSimd...
author
Tanner Gooding
<tagoo@outlook.com>
Wed, 27 Feb 2019 20:14:00 +0000
(12:14 -0800)
committer
GitHub
<noreply@github.com>
Wed, 27 Feb 2019 20:14:00 +0000
(12:14 -0800)
Commit migrated from https://github.com/dotnet/coreclr/commit/
5c95e296a3f67d6d04146f455fe364e2fd9e9ddc
src/coreclr/src/jit/hwintrinsicArm64.cpp
patch
|
blob
|
history
diff --git
a/src/coreclr/src/jit/hwintrinsicArm64.cpp
b/src/coreclr/src/jit/hwintrinsicArm64.cpp
index
2309f75
..
7fff58c
100644
(file)
--- a/
src/coreclr/src/jit/hwintrinsicArm64.cpp
+++ b/
src/coreclr/src/jit/hwintrinsicArm64.cpp
@@
-312,6
+312,11
@@
GenTree* Compiler::impHWIntrinsic(NamedIntrinsic intrinsic,
case NI_Base_Vector128_AsUInt32:
case NI_Base_Vector128_AsUInt64:
{
+ if (!featureSIMD)
+ {
+ return nullptr;
+ }
+
// We fold away the cast here, as it only exists to satisfy
// the type system. It is safe to do this here since the retNode type
// and the signature return type are both the same TYP_SIMD.