[llvm] Disable an optimization in LLVM where we deleted and recomputed the MONO_INST_...
commita8a03515fa5da64ad0857f15283618137437ed88
authorZoltan Varga <vargaz@gmail.com>
Tue, 18 Jul 2017 06:21:59 +0000 (18 02:21 -0400)
committerGitHub <noreply@github.com>
Tue, 18 Jul 2017 06:21:59 +0000 (18 02:21 -0400)
tree781afeb4f7433a564df8c0555dfb99e05e92b262
parentb4ef279dd767faf5bc881a17eb2dae07f07c0026
[llvm] Disable an optimization in LLVM where we deleted and recomputed the MONO_INST_INDIRECT flags during codegen. This doesn't work since the INDIRECT flag prohibits the insertion of phi nodes, so its later removal leads to the generation of LLVM IR which is missing phi nodes. (#5227)
mono/mini/mini-llvm.c
mono/mini/mini.c