[llvm] Use IntPtrType () for byref arguments instead of a pointer, the latter causes...
authorZoltan Varga <vargaz@gmail.com>
Tue, 17 Sep 2019 07:53:52 +0000 (03:53 -0400)
committerGitHub <noreply@github.com>
Tue, 17 Sep 2019 07:53:52 +0000 (03:53 -0400)
commit46fff06e2f564c72b02efbf2259e833098be23ab
treea9616d6c4186c745542ba3cef1f01306eb7d0ff3
parent230395b64f1886ed496fb48617d2cfea4364930f
[llvm] Use IntPtrType () for byref arguments instead of a pointer, the latter causes problems when pointer operations are used along with phi nodes. Fixes https://github.com/mono/mono/issues/16808. (mono/mono#16874)

Commit migrated from https://github.com/mono/mono/commit/1031c4650df27fc77206c38a912228fb0862e198
src/mono/mono/mini/mini-llvm-cpp.cpp
src/mono/mono/mini/mini-llvm.c