Stepan Dyatkovskiy
80361492ae
Bugfix for PR17099:
Wrong cast operation.
MergeFunctions emits Bitcast instead of pointer-to-integer operation.
Patch fixes MergeFunctions::writeThunk function. It replaces
unconditional Bitcast creation with "Value* createCast(...)" method, that
checks operand types and selects proper instruction.
See unit-test as example.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@190859 91177308-0d34-0410-b5e6-96231b3b80d8
2013-09-17 09:36:11 +00:00
..
2013-08-16 00:37:11 +00:00
2013-08-16 00:37:11 +00:00
2013-08-21 22:20:53 +00:00
2013-08-16 00:37:11 +00:00
2013-08-16 00:37:11 +00:00
2013-08-16 00:37:11 +00:00
2013-08-20 21:20:04 +00:00
2013-08-16 00:37:11 +00:00
2013-09-08 03:11:54 +00:00
2013-08-16 00:37:11 +00:00
2013-08-16 00:37:11 +00:00
2013-08-16 00:37:11 +00:00
2013-08-16 00:37:11 +00:00
2013-09-08 03:11:54 +00:00
2013-08-16 00:37:11 +00:00
2013-09-09 22:00:13 +00:00
2013-08-16 00:37:11 +00:00
2013-09-11 05:09:42 +00:00
2013-08-28 22:41:57 +00:00
2013-09-09 20:56:48 +00:00
2013-08-16 00:37:11 +00:00
2013-09-04 19:19:32 +00:00
2013-08-16 00:37:11 +00:00
2013-08-16 00:37:11 +00:00
2013-08-16 00:37:11 +00:00
2013-09-16 21:24:30 +00:00
2013-08-16 00:37:11 +00:00
2013-09-11 05:09:42 +00:00
2013-09-06 21:03:58 +00:00
2013-08-16 00:37:11 +00:00
2013-09-11 05:09:42 +00:00
2013-09-11 21:20:40 +00:00
2013-08-16 00:37:11 +00:00
2013-09-16 16:17:24 +00:00
2013-08-16 00:37:11 +00:00
2013-08-16 00:37:11 +00:00
2013-08-16 00:37:11 +00:00
2013-09-09 19:14:35 +00:00
2013-08-26 22:39:55 +00:00
2013-08-16 00:37:11 +00:00
2013-09-17 09:36:11 +00:00
2013-08-16 00:37:11 +00:00
2013-09-08 03:11:54 +00:00
2013-08-16 00:37:11 +00:00
2013-08-16 00:37:11 +00:00
2013-08-16 00:37:11 +00:00
2013-08-16 00:37:11 +00:00
2013-09-06 21:03:58 +00:00
2013-08-16 00:37:11 +00:00
2013-09-14 02:44:02 +00:00
2013-08-16 00:37:11 +00:00
2013-09-06 21:03:58 +00:00
2013-08-16 00:37:11 +00:00
2013-08-29 00:41:22 +00:00
2013-08-16 00:37:11 +00:00
2013-08-16 00:37:11 +00:00
2013-08-16 00:37:11 +00:00