llvm-6502/test
Chris Lattner 999aee24c7 Fix the third (and last known) case of code update problems due
to LLVM IR changes with addr label weirdness.  In the testcase, we
generate references to the two bb's when codegen'ing the first
function:

_test1:                                 ## @test1
	leaq	Ltmp0(%rip), %rax
..
	leaq	Ltmp1(%rip), %rax

Then continue to codegen the second function where the blocks
get merged.  We're now smart enough to emit both labels, producing
this code:

_test_fun:                              ## @test_fun
## BB#0:                                ## %entry
Ltmp1:                                  ## Block address taken
Ltmp0:
## BB#1:                                ## %ret
	movl	$-1, %eax
	ret

Rejoice.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@98595 91177308-0d34-0410-b5e6-96231b3b80d8
2010-03-16 00:29:39 +00:00
..
Analysis
Archive
Assembler
Bindings/Ocaml
Bitcode
BugPoint
CodeGen Fix the third (and last known) case of code update problems due 2010-03-16 00:29:39 +00:00
DebugInfo Fix llc crash on invalid input. 2010-03-12 19:18:30 +00:00
ExecutionEngine
Feature
FrontendAda
FrontendC Testcase for pr6552. I changed the code to use "ip" instead of "fp" because 2010-03-10 17:54:11 +00:00
FrontendC++
FrontendFortran
FrontendObjC
FrontendObjC++
Integer
lib
Linker
LLVMC
MC MC/Mach-O/x86_64: Temporary labels in cstring sections require symbols (and external relocations, but we don't have x86_64 relocations yet). 2010-03-15 21:56:50 +00:00
Other Constant-fold GEP-of-GEP into a single GEP. 2010-03-10 19:31:51 +00:00
Scripts MC/X86_64: Symbol support. 2010-03-13 22:49:35 +00:00
TableGen
Transforms Fix a typo in ValueTracking that's causing instcombine to delete needed shift instructions. 2010-03-13 02:20:29 +00:00
Unit
Verifier
CMakeLists.txt Fix make check with cmake/lit 2010-03-10 18:41:59 +00:00
lit.cfg
lit.site.cfg.in
Makefile
Makefile.tests
site.exp.in
TestRunner.sh