summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/MachineFunctionAnalysis.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-03-16 00:29:39 +0000
committerChris Lattner <sabre@nondot.org>2010-03-16 00:29:39 +0000
commitdb035a0af2ac5dfbefe952a874903b08d9b48152 (patch)
treed2cb697a615b3d9f4ee5dc7ed8b91957da9218a6 /llvm/lib/CodeGen/MachineFunctionAnalysis.cpp
parente0fbb83b8b132f6fd0a33467a082d16cc9ba4a8f (diff)
downloadbcm5719-llvm-db035a0af2ac5dfbefe952a874903b08d9b48152.tar.gz
bcm5719-llvm-db035a0af2ac5dfbefe952a874903b08d9b48152.zip
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. llvm-svn: 98595
Diffstat (limited to 'llvm/lib/CodeGen/MachineFunctionAnalysis.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud