llvm-6502/lib
Jingyue Wu c77dec905a InstCombine: Canonicalize addrspacecast between different element types
addrspacecast X addrspace(M)* to Y addrspace(N)*

-->

bitcast X addrspace(M)* to Y addrspace(M)*
addrspacecast Y addrspace(M)* to Y addrspace(N)*

Updat all affected tests and add several new tests in addrspacecast.ll.

This patch is based on http://reviews.llvm.org/D2186 (authored by Matt
Arsenault) with fixes and more tests.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@210375 91177308-0d34-0410-b5e6-96231b3b80d8
2014-06-06 21:52:55 +00:00
..
Analysis Add a new attribute called 'jumptable' that creates jump-instruction tables for functions marked with this attribute. 2014-06-05 19:29:43 +00:00
AsmParser Allow aliases to be unnamed_addr. 2014-06-06 01:20:28 +00:00
Bitcode Allow aliases to be unnamed_addr. 2014-06-06 01:20:28 +00:00
CodeGen Fix a few issues with comdat handling on COFF. 2014-06-06 19:26:12 +00:00
DebugInfo [modules] Add module maps for LLVM. These are not quite ready for prime-time 2014-05-21 02:46:14 +00:00
ExecutionEngine Add a Constant version of stripPointerCasts. 2014-06-04 19:01:48 +00:00
IR InstCombine: Canonicalize addrspacecast between different element types 2014-06-06 21:52:55 +00:00
IRReader
LineEditor
Linker Allow aliases to be unnamed_addr. 2014-06-06 01:20:28 +00:00
LTO Add a new attribute called 'jumptable' that creates jump-instruction tables for functions marked with this attribute. 2014-06-05 19:29:43 +00:00
MC MC: prevent early DCE of empty sections 2014-06-06 21:40:16 +00:00
Object [yaml2obj][obj2yaml] Support ELF symbol's visibility flags (default/hidden/protected). 2014-06-06 07:41:57 +00:00
Option Options: Use erase_if to remove Args from the list. 2014-05-18 15:14:13 +00:00
ProfileData Use an enum class. 2014-06-03 05:12:33 +00:00
Support GraphWriter: try gv before xdg-open 2014-06-04 04:11:12 +00:00
TableGen Fix typos in tablegen error messages 2014-05-31 05:18:52 +00:00
Target X86: Don't turn shifts into ands if there's another use that may not check for equality. 2014-06-06 21:08:55 +00:00
Transforms InstCombine: Canonicalize addrspacecast between different element types 2014-06-06 21:52:55 +00:00
CMakeLists.txt
LLVMBuild.txt
Makefile