llvm-6502/lib/Transforms
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
..
Hello Move all of the header files which are involved in modelling the LLVM IR 2013-01-02 11:36:10 +00:00
InstCombine Get rid of unused isPodLike definitions. 2013-09-11 00:36:54 +00:00
Instrumentation [msan] Check return value of main(). 2013-09-16 13:24:32 +00:00
IPO Bugfix for PR17099: 2013-09-17 09:36:11 +00:00
ObjCARC Revert "Give internal classes hidden visibility." 2013-09-11 18:05:11 +00:00
Scalar MemCpyOptimizer: Use max legal int size instead of pointer size 2013-09-16 22:43:16 +00:00
Utils Replace some unnecessary vector copies with references. 2013-09-15 22:04:42 +00:00
Vectorize Don't vectorize if there are outside loop users of the induction variable. 2013-09-16 16:17:24 +00:00
CMakeLists.txt Extracted ObjCARC.cpp into its own library libLLVMObjCARCOpts in preparation for refactoring the ARC Optimizer. 2013-01-28 01:35:51 +00:00
LLVMBuild.txt Extracted ObjCARC.cpp into its own library libLLVMObjCARCOpts in preparation for refactoring the ARC Optimizer. 2013-01-28 01:35:51 +00:00
Makefile Extracted ObjCARC.cpp into its own library libLLVMObjCARCOpts in preparation for refactoring the ARC Optimizer. 2013-01-28 01:35:51 +00:00