llvm-6502/lib/Transforms
Manman Ren 16d1a6bf08 Linker: correctly link in dbg.declare
This is a re-worked version of r174048.
Given source IR:
call void @llvm.dbg.declare(metadata !{i32* %argc.addr}, metadata !14), !dbg !15
we used to generate 
call void @llvm.dbg.declare(metadata !27, metadata !28), !dbg !29
!27 = metadata !{null}

With this patch, we will correctly generate
call void @llvm.dbg.declare(metadata !{i32* %argc.addr}, metadata !27), !dbg !28

Looking up %argc.addr in ValueMap will return null, since %argc.addr is already
correctly set up, we can use identity mapping.

rdar://problem/13089880


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@174093 91177308-0d34-0410-b5e6-96231b3b80d8
2013-01-31 21:19:18 +00:00
..
Hello
InstCombine Convert typeIncompatible to return an AttributeSet. 2013-01-30 23:07:40 +00:00
Instrumentation Fixing warnings revealed by gcc release build 2013-01-29 17:42:24 +00:00
IPO Remove addRetAttributes and addFnAttributes, which aren't useful abstractions. 2013-01-30 23:40:31 +00:00
ObjCARC Made certain small functions in PtrState inlined. 2013-01-29 22:29:59 +00:00
Scalar Change GetPointerBaseWithConstantOffset's DataLayout argument from a 2013-01-31 02:00:45 +00:00
Utils Linker: correctly link in dbg.declare 2013-01-31 21:19:18 +00:00
Vectorize LoopVectorize: convert TinyTripCountVectorThreshold constant 2013-01-29 21:42:08 +00:00
CMakeLists.txt
LLVMBuild.txt
Makefile