diff options
author | Adrian Prantl <aprantl@apple.com> | 2013-04-30 22:16:46 +0000 |
---|---|---|
committer | Adrian Prantl <aprantl@apple.com> | 2013-04-30 22:16:46 +0000 |
commit | a2b56692c8b824b8cc4a0927bb555f3718e9bee8 (patch) | |
tree | 50f264386d8d32b5716bd8202ce2ae4de1d14729 /test/CodeGen/X86/2010-06-01-DeadArg-DbgInfo.ll | |
parent | f13fc1b23ad40407d0ee4fd0ee807a40261d639e (diff) | |
download | external_llvm-a2b56692c8b824b8cc4a0927bb555f3718e9bee8.zip external_llvm-a2b56692c8b824b8cc4a0927bb555f3718e9bee8.tar.gz external_llvm-a2b56692c8b824b8cc4a0927bb555f3718e9bee8.tar.bz2 |
Change the informal convention of DBG_VALUE so that we can express a
register-indirect address with an offset of 0.
It used to be that a DBG_VALUE is a register-indirect value if the offset
(operand 1) is nonzero. The new convention is that a DBG_VALUE is
register-indirect if the first operand is a register and the second
operand is an immediate. For plain registers use the combination reg, reg.
rdar://problem/13658587
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@180816 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/X86/2010-06-01-DeadArg-DbgInfo.ll')
-rw-r--r-- | test/CodeGen/X86/2010-06-01-DeadArg-DbgInfo.ll | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CodeGen/X86/2010-06-01-DeadArg-DbgInfo.ll b/test/CodeGen/X86/2010-06-01-DeadArg-DbgInfo.ll index b764b0b..b07a192 100644 --- a/test/CodeGen/X86/2010-06-01-DeadArg-DbgInfo.ll +++ b/test/CodeGen/X86/2010-06-01-DeadArg-DbgInfo.ll @@ -8,7 +8,7 @@ target triple = "x86_64-apple-darwin10.2" @llvm.used = appending global [1 x i8*] [i8* bitcast (i32 (%struct.foo*, i32)* @_ZN3foo3bazEi to i8*)], section "llvm.metadata" ; <[1 x i8*]*> [#uses=0] define i32 @_ZN3foo3bazEi(%struct.foo* nocapture %this, i32 %x) nounwind readnone optsize noinline ssp align 2 { -;CHECK: DEBUG_VALUE: baz:this <- RDI+0 +;CHECK: DEBUG_VALUE: baz:this <- RDI entry: tail call void @llvm.dbg.value(metadata !{%struct.foo* %this}, i64 0, metadata !15) tail call void @llvm.dbg.value(metadata !{i32 %x}, i64 0, metadata !16) |