llvm-mirror/lib
David Majnemer d1ffa4dc99 [ConstantFold] Fix bitcast to gep constant folding transform.
Make sure to check that the destination type is sized.
A check was present but was incorrectly checking the source type
instead.

Patch by Amaury SECHET!

Differential Revision: http://reviews.llvm.org/D15264

llvm-svn: 255536
2015-12-14 19:30:32 +00:00
..
Analysis [IR] Remove terminatepad 2015-12-14 18:34:23 +00:00
AsmParser [IR] Remove terminatepad 2015-12-14 18:34:23 +00:00
Bitcode [IR] Remove terminatepad 2015-12-14 18:34:23 +00:00
CodeGen Remove the successor probabilities normalization in tail duplication pass. 2015-12-14 19:11:54 +00:00
DebugInfo [llvm-dwp] Retrieve the DWOID from the CU for the cu_index entry 2015-12-04 17:20:04 +00:00
ExecutionEngine [Orc] Rename IndirectStubsManagerBase to IndirectStubsManager. 2015-12-06 19:44:45 +00:00
Fuzzer [LibFuzzer] Introducing FUZZER_FLAG_UNSIGNED and using it for seeding. 2015-12-10 20:41:53 +00:00
IR [ConstantFold] Fix bitcast to gep constant folding transform. 2015-12-14 19:30:32 +00:00
IRReader Return a unique_ptr from getLazyBitcodeModule and parseBitcodeFile. NFC. 2015-06-16 22:27:55 +00:00
LibDriver [Option] Use an ArrayRef to store the Option Infos in OptTable. NFC 2015-10-21 16:30:42 +00:00
LineEditor
Linker Fix another case where the linkage was not set. 2015-12-10 18:44:26 +00:00
LTO MSVC complains about this being ambiguous. 2015-12-04 22:26:21 +00:00
MC [X86][inline asm] support even directive 2015-12-13 17:07:23 +00:00
Object Use make_range to reduce mentions of iterator type. NFC 2015-12-06 05:08:07 +00:00
Option [Option] Use an ArrayRef to store the Option Infos in OptTable. NFC 2015-10-21 16:30:42 +00:00
Passes [PM] Port StripDeadPrototypes to the new pass manager 2015-10-30 23:28:12 +00:00
ProfileData [PGO] Value profiling text format reader/writer support 2015-12-14 18:44:01 +00:00
Support Revert r255444. 2015-12-13 04:14:39 +00:00
TableGen [TblGen] ArrayRefize TGParser. No functional change intended. 2015-10-24 12:46:45 +00:00
Target Save several std::string constructions using llvm::Twine. 2015-12-14 19:28:40 +00:00
Transforms [MergeFunctions] Use II instead of CI for InvokeInst; NFC 2015-12-14 19:11:45 +00:00
CMakeLists.txt LibDriver, llvm-lib: introduce. 2015-06-09 21:50:22 +00:00
LLVMBuild.txt Wrap some long lines in LLVMBuild files. NFC 2015-06-12 18:44:57 +00:00
Makefile LibDriver, llvm-lib: introduce. 2015-06-09 21:50:22 +00:00