llvm-6502/lib
Ahmed Bougacha ebb4371478 [MemCpyOpt] Promote both memset/memcpy sizes if differently typed.
Followup to r235232, which caused PR23278.

We can't assume the memset and memcpy sizes have the same type, as
nothing in the language reference prevents that.
Instead, zext both to i64 if they disagree.

While there, robustify tests by using i8 %c rather than i8 0 for the
memset character.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@235258 91177308-0d34-0410-b5e6-96231b3b80d8
2015-04-18 17:57:41 +00:00
..
Analysis [LoopAccesses] Improve debug output 2015-04-17 22:43:10 +00:00
AsmParser [opaque pointer type] Use the parsed explicit pointee type when error-checking geps during LL parsing 2015-04-17 22:32:13 +00:00
Bitcode [opaque pointer types] Use the pointee type loaded from bitcode when constructing a LoadInst 2015-04-17 19:56:21 +00:00
CodeGen [GlobalMerge] Look at uses to create smaller global sets. 2015-04-18 01:21:58 +00:00
DebugInfo [PDB] Support executables and source/line info. 2015-04-17 22:40:36 +00:00
ExecutionEngine Revert "[RuntimeDyldELF] Fold Placeholder into Addend" 2015-04-16 08:58:15 +00:00
Fuzzer Removing a spurious space; NFC. 2015-04-06 16:09:13 +00:00
IR DebugInfo: Remove DIDescriptor from the DebugInfo API 2015-04-17 23:20:10 +00:00
IRReader
LineEditor
Linker DebugInfo: Gut DISubprogram and DILexicalBlock* 2015-04-14 03:40:37 +00:00
LTO [LTO API] add lto_codegen_set_should_internalize. 2015-04-17 17:10:09 +00:00
MC Compute A-B when A or B is weak. 2015-04-17 21:15:17 +00:00
Object Change range-based for-loops to be -Wrange-loop-analysis clean. 2015-04-15 01:21:15 +00:00
Option Remove more superfluous .str() and replace std::string concatenation with Twine. 2015-03-30 15:42:36 +00:00
Passes
ProfileData Re-sort includes with sort-includes.py and insert raw_ostream.h where it's used. 2015-03-23 19:32:43 +00:00
Support Revert r235177 as the Handle is used to fail GetExitCodeProcess on purpose. 2015-04-17 12:11:15 +00:00
TableGen Remove empty non-virtual destructors or mark them =default when non-public 2015-04-11 15:32:26 +00:00
Target [AArch64] Don't force MVT::Untyped when selecting LD1LANEpost. 2015-04-17 23:43:33 +00:00
Transforms [MemCpyOpt] Promote both memset/memcpy sizes if differently typed. 2015-04-18 17:57:41 +00:00
CMakeLists.txt
LLVMBuild.txt
Makefile