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:
af8a9fa
)
[mono][aot] Fixed decompose_flag propagation, addresses #79710 (#79849)
author
Jan Dupej
<109523496+jandupej@users.noreply.github.com>
Tue, 20 Dec 2022 13:34:12 +0000
(14:34 +0100)
committer
GitHub
<noreply@github.com>
Tue, 20 Dec 2022 13:34:12 +0000
(14:34 +0100)
src/mono/mono/mini/branch-opts.c
patch
|
blob
|
history
diff --git
a/src/mono/mono/mini/branch-opts.c
b/src/mono/mono/mini/branch-opts.c
index
5d14e51
..
ca60388
100644
(file)
--- a/
src/mono/mono/mini/branch-opts.c
+++ b/
src/mono/mono/mini/branch-opts.c
@@
-428,6
+428,9
@@
mono_if_conversion (MonoCompile *cfg)
mono_bblock_insert_before_ins (bb, compare, ins2);
mono_bblock_insert_before_ins (bb, ins2, ins1);
+ bb->needs_decompose |= true_bb->needs_decompose;
+ bb->needs_decompose |= false_bb->needs_decompose;
+
/* Add cmov instruction */
MONO_INST_NEW (cfg, cmov, OP_NOP);
cmov->dreg = dreg;