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-07-18 22:32:32 +00:00
2013-05-06 01:48:55 +00:00
2013-06-30 20:26:21 +00:00
2013-03-04 22:40:44 +00:00
2013-09-13 08:16:06 +00:00
2013-09-16 01:08:15 +00:00
2013-09-11 07:29:40 +00:00
2013-01-21 11:39:18 +00:00
2013-07-17 14:32:41 +00:00
2013-01-21 11:39:18 +00:00
2013-09-04 20:08:46 +00:00
2013-01-02 11:36:10 +00:00
2013-05-01 20:59:00 +00:00
2013-01-28 01:35:51 +00:00
2013-01-02 11:36:10 +00:00
2013-09-17 09:36:11 +00:00
2013-01-02 11:36:10 +00:00
2013-09-03 21:33:17 +00:00
2013-06-15 10:55:39 +00:00
2013-01-02 11:36:10 +00:00
2013-08-27 04:43:03 +00:00