[llvm] Load rgctx/imt arguments using a volatile load on arm to prevent LLVM from...
authorZoltan Varga <vargaz@gmail.com>
Tue, 28 Jan 2014 05:30:09 +0000 (06:30 +0100)
committerZoltan Varga <vargaz@gmail.com>
Tue, 28 Jan 2014 05:30:19 +0000 (06:30 +0100)
commitf060b9998928275154c8cc426850cad5f6f23003
treeeccf12ecdd9dc5f482729baeb26623069e7ded90
parent393325a1b801fceca21a9b8bcbedf79ec69c3e87
[llvm] Load rgctx/imt arguments using a volatile load on arm to prevent LLVM from moving the setting of the argument elsewhere. This is needed because these arguments are passed in a caller save register, but our code treats it as callee save in a lot of places. Fixes #17435.
mono/mini/mini-llvm.c