diff options
| author | Stepan Dyatkovskiy <stpworld@narod.ru> | 2013-09-17 09:36:11 +0000 |
|---|---|---|
| committer | Stepan Dyatkovskiy <stpworld@narod.ru> | 2013-09-17 09:36:11 +0000 |
| commit | dc2c4b44623ecd8bd39d6ad87abf778e243497b3 (patch) | |
| tree | 77557b74b2c131808cff24167a30fe662c098564 /clang/runtime | |
| parent | 545c652d75758821ad272c815c80ce5eb1e198a4 (diff) | |
| download | bcm5719-llvm-dc2c4b44623ecd8bd39d6ad87abf778e243497b3.tar.gz bcm5719-llvm-dc2c4b44623ecd8bd39d6ad87abf778e243497b3.zip | |
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.
llvm-svn: 190859
Diffstat (limited to 'clang/runtime')
0 files changed, 0 insertions, 0 deletions

