summaryrefslogtreecommitdiffstats
path: root/clang/runtime
diff options
context:
space:
mode:
authorStepan Dyatkovskiy <stpworld@narod.ru>2013-09-17 09:36:11 +0000
committerStepan Dyatkovskiy <stpworld@narod.ru>2013-09-17 09:36:11 +0000
commitdc2c4b44623ecd8bd39d6ad87abf778e243497b3 (patch)
tree77557b74b2c131808cff24167a30fe662c098564 /clang/runtime
parent545c652d75758821ad272c815c80ce5eb1e198a4 (diff)
downloadbcm5719-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
OpenPOWER on IntegriCloud