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:
7702b81
)
[jit] Enable alias analysis dce even if there are no ldaddr instructions eliminated...
author
Zoltan Varga
<vargaz@gmail.com>
Sun, 18 Aug 2019 05:55:25 +0000
(
01:55
-0400)
committer
Zoltan Varga
<vargaz@gmail.com>
Sun, 18 Aug 2019 05:55:25 +0000
(
01:55
-0400)
Commit migrated from https://github.com/mono/mono/commit/
3c6e8de0daadeddcbf9a6e8f8a1c12854f2dd54e
src/mono/mono/mini/alias-analysis.c
patch
|
blob
|
history
diff --git
a/src/mono/mono/mini/alias-analysis.c
b/src/mono/mono/mini/alias-analysis.c
index
9ebbaaa
..
4f096ed
100644
(file)
--- a/
src/mono/mono/mini/alias-analysis.c
+++ b/
src/mono/mono/mini/alias-analysis.c
@@
-303,6
+303,12
@@
handle_instruction:
}
}
g_hash_table_destroy (addr_loads);
+
+#ifdef ENABLE_NETCORE
+ /* There could be ldaddr instructions which already got eliminated */
+ if (COMPILE_LLVM (cfg))
+ return TRUE;
+#endif
return needs_dce;
}