summaryrefslogtreecommitdiff
path: root/src/jit
diff options
context:
space:
mode:
authorBruce Forstall <brucefo@microsoft.com>2018-10-19 10:28:26 -0700
committerGitHub <noreply@github.com>2018-10-19 10:28:26 -0700
commit679a82368d9fbeaae343630d1e509e7d8acbf1c6 (patch)
treeeaf3fc854113f222f7e4594c67220017bad63f43 /src/jit
parentf56dc8e76dc4bdf66b1f4376a9b8d0fc107c5926 (diff)
parent5707d88a4ce1f31ff92d3663161b8c494d3e26e4 (diff)
downloadcoreclr-679a82368d9fbeaae343630d1e509e7d8acbf1c6.tar.gz
coreclr-679a82368d9fbeaae343630d1e509e7d8acbf1c6.tar.bz2
coreclr-679a82368d9fbeaae343630d1e509e7d8acbf1c6.zip
Merge pull request #20472 from BruceForstall/ImproveLoopCloningArm64
Fix loop cloning array index recognition for arm64
Diffstat (limited to 'src/jit')
-rw-r--r--src/jit/optimizer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jit/optimizer.cpp b/src/jit/optimizer.cpp
index 75865b74f2..30a2f1e644 100644
--- a/src/jit/optimizer.cpp
+++ b/src/jit/optimizer.cpp
@@ -8322,7 +8322,7 @@ bool Compiler::optExtractArrIndex(GenTree* tree, ArrIndex* result, unsigned lhsN
{
return false;
}
-#ifdef _TARGET_AMD64_ // TODO-ARM64: should this be _TARGET_64BIT_? If not, add comment why not.
+#ifdef _TARGET_64BIT_
if (index->gtOper != GT_CAST)
{
return false;