llvm-6502/lib
Chris Lattner cbf68dfbc0 Fix a bug in ReduceLoadWidth that wasn't handling extending
loads properly.  We miscompiled the testcase into:

_test:                                  ## @test
	movl	$128, (%rdi)
	movzbl	1(%rdi), %eax
	ret

Now we get a proper:

_test:                                  ## @test
	movl	$128, (%rdi)
	movsbl	(%rdi), %eax
	movzbl	%ah, %eax
	ret

This fixes PR8757.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@122392 91177308-0d34-0410-b5e6-96231b3b80d8
2010-12-22 08:02:57 +00:00
..
Analysis While I don't think any later transforms can fire, it seems cleaner to 2010-12-21 15:03:43 +00:00
Archive MemoryBuffer now return an error_code and returns a OwningPtr<MemoryBuffer> via an out parm. 2010-12-16 03:29:14 +00:00
AsmParser Add missing standard headers. Patch by Joerg Sonnenberger! 2010-12-19 20:43:38 +00:00
Bitcode Add missing standard headers. Patch by Joerg Sonnenberger! 2010-12-19 20:43:38 +00:00
CodeGen Fix a bug in ReduceLoadWidth that wasn't handling extending 2010-12-22 08:02:57 +00:00
CompilerDriver Support/PathV1: Deprecate get{Basename,Dirname,Suffix}. 2010-12-18 22:23:07 +00:00
ExecutionEngine
Linker Fix whitespace. 2010-12-18 22:23:15 +00:00
MC GCC objects to the two sides of a conditional expression having different enum 2010-12-21 23:43:23 +00:00
Object Fix mismatched new[]/delete. 2010-12-17 09:56:50 +00:00
Support Use IntEqClasses to compute connected components of live intervals. 2010-12-21 00:48:17 +00:00
Target Don't generate carry bit when loading immediate values on the Microblaze. 2010-12-22 01:29:32 +00:00
Transforms Give GVN back the ability to perform simple conditional propagation on conditional branch values. 2010-12-21 23:54:34 +00:00
VMCore rename MVT::Flag to MVT::Glue. "Flag" is a terrible name for 2010-12-21 02:38:05 +00:00
Makefile Add LLVMObject Library. 2010-11-15 03:21:41 +00:00