[llvm] r233388 - DebugInfo: Fix another bitrotted testcase
Duncan P. N. Exon Smith
dexonsmith at apple.com
Fri Mar 27 10:29:11 PDT 2015
Author: dexonsmith
Date: Fri Mar 27 12:29:11 2015
New Revision: 233388
URL: http://llvm.org/viewvc/llvm-project?rev=233388&view=rev
Log:
DebugInfo: Fix another bitrotted testcase
Fix another case of a missing `scope:` field on an `MDLocalVariable`.
Modified:
llvm/trunk/test/Transforms/LoopStrengthReduce/pr12018.ll
Modified: llvm/trunk/test/Transforms/LoopStrengthReduce/pr12018.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/LoopStrengthReduce/pr12018.ll?rev=233388&r1=233387&r2=233388&view=diff
==============================================================================
--- llvm/trunk/test/Transforms/LoopStrengthReduce/pr12018.ll (original)
+++ llvm/trunk/test/Transforms/LoopStrengthReduce/pr12018.ll Fri Mar 27 12:29:11 2015
@@ -16,7 +16,7 @@ for.body:
%tmp = bitcast %struct.nsTArrayHeader* %add.ptr.i to %struct.nsTArray*
%arrayidx = getelementptr inbounds %struct.nsTArray, %struct.nsTArray* %tmp, i32 %i.06
%add = add nsw i32 %i.06, 1
- call void @llvm.dbg.value(metadata %struct.nsTArray* %aValues, i64 0, metadata !0, metadata !{}) nounwind
+ call void @llvm.dbg.value(metadata %struct.nsTArray* %aValues, i64 0, metadata !0, metadata !MDExpression()) nounwind
br label %_ZN8nsTArray9ElementAtEi.exit
_ZN8nsTArray9ElementAtEi.exit: ; preds = %for.body
@@ -35,4 +35,4 @@ declare %struct.nsTArrayHeader* @_ZN8nsT
declare void @llvm.dbg.value(metadata, i64, metadata, metadata) nounwind readnone
-!0 = !MDLocalVariable(tag: DW_TAG_arg_variable)
+!0 = !MDLocalVariable(tag: DW_TAG_arg_variable, scope: !MDSubprogram())
More information about the llvm-commits
mailing list