llvm-6502/lib
Benjamin Kramer f4eeab452a DAGCombiner: Don't drop extension behavior when shrinking a load when unsafe.
ReduceLoadWidth unconditionally drops extensions from loads. Limit it to the
case when all of the bits the extension would otherwise produce are dropped by
the shrink. It would be possible to shrink the load in more cases by merging
the extensions, but this isn't trivial and a very rare case. I left a TODO for
that case.

Fixes PR16551.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@185755 91177308-0d34-0410-b5e6-96231b3b80d8
2013-07-06 14:05:09 +00:00
..
Analysis isKnownToBeAPowerOfTwo: Fix a typo in a comment 2013-07-06 02:24:59 +00:00
AsmParser Extend 'readonly' and 'readnone' to work on function arguments as well as 2013-07-06 00:29:58 +00:00
Bitcode
CodeGen DAGCombiner: Don't drop extension behavior when shrinking a load when unsafe. 2013-07-06 14:05:09 +00:00
DebugInfo
ExecutionEngine Use SmallVectorImpl::iterator/const_iterator instead of SmallVector to avoid specifying the vector size. 2013-07-04 01:31:24 +00:00
IR Extend 'readonly' and 'readnone' to work on function arguments as well as 2013-07-06 00:29:58 +00:00
IRReader
Linker
MC MC: Implement COFF .linkonce directive 2013-07-06 12:13:10 +00:00
Object Remove a useless declarations (found by scan-build) 2013-07-05 15:58:12 +00:00
Option Fix a crash bug in dumping options with groups 2013-06-26 22:43:37 +00:00
Support Remove unique_file now that it is unused. 2013-07-05 21:19:35 +00:00
TableGen
Target ARM: Add a pack pattern for matching arithmetic shift right 2013-07-05 18:57:49 +00:00
Transforms [objc-arc] Performed some small cleanups in ARCRuntimeEntryPoints and added an llvm_unreachable after the switch to quiet -Wreturn_type errors. 2013-07-06 02:18:56 +00:00
CMakeLists.txt
LLVMBuild.txt
Makefile