[llvm] r313940 - Fix a bug in a historic bitcode testcase.

Adrian Prantl via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 21 16:14:55 PDT 2017


Author: adrian
Date: Thu Sep 21 16:14:55 2017
New Revision: 313940

URL: http://llvm.org/viewvc/llvm-project?rev=313940&view=rev
Log:
Fix a bug in a historic bitcode testcase.

Modified:
    llvm/trunk/test/Bitcode/DIExpression-deref.ll
    llvm/trunk/test/Bitcode/DIExpression-deref.ll.bc

Modified: llvm/trunk/test/Bitcode/DIExpression-deref.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Bitcode/DIExpression-deref.ll?rev=313940&r1=313939&r2=313940&view=diff
==============================================================================
--- llvm/trunk/test/Bitcode/DIExpression-deref.ll (original)
+++ llvm/trunk/test/Bitcode/DIExpression-deref.ll Thu Sep 21 16:14:55 2017
@@ -4,15 +4,15 @@
 !llvm.module.flags = !{!20, !21}
 
 !0 = distinct !DIGlobalVariable(name: "g", scope: !1, file: !2, line: 1, type: !5, isLocal: false, isDefinition: true)
-!1 = distinct !DICompileUnit(language: DW_LANG_C99, file: !2, producer: "clang (llvm/trunk 288154)", isOptimized: false, runtimeVersion: 0, emissionKind: FullDebug, enums: !3, globals: !4)
+!1 = distinct !DICompileUnit(language: DW_LANG_C99, file: !2, producer: "clang (llvm/trunk 300520)", isOptimized: false, runtimeVersion: 0, emissionKind: FullDebug, enums: !3, globals: !4)
 !2 = !DIFile(filename: "a.c", directory: "/")
 !3 = !{}
 !4 = !{!10, !11, !12, !13}
 !5 = !DIBasicType(name: "int", size: 32, encoding: DW_ATE_signed)
 ; DW_OP_deref should be moved to the back of the expression.
 ;
-; CHECK: !DIExpression(DW_OP_plus_uconst, 0, DW_OP_deref, DW_OP_LLVM_fragment, 8, 32)
-!6 = !DIExpression(DW_OP_deref, DW_OP_plus, 0, DW_OP_LLVM_fragment, 8, 32)
+; CHECK: !DIExpression(DW_OP_plus_uconst, 0, DW_OP_deref, DW_OP_LLVM_fragment, 8, 8)
+!6 = !DIExpression(DW_OP_deref, DW_OP_plus, 0, DW_OP_LLVM_fragment, 8, 8)
 ; CHECK: !DIExpression(DW_OP_plus_uconst, 0, DW_OP_deref)
 !7 = !DIExpression(DW_OP_deref, DW_OP_plus, 0)
 ; CHECK: !DIExpression(DW_OP_plus_uconst, 1, DW_OP_deref)

Modified: llvm/trunk/test/Bitcode/DIExpression-deref.ll.bc
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Bitcode/DIExpression-deref.ll.bc?rev=313940&r1=313939&r2=313940&view=diff
==============================================================================
Binary files llvm/trunk/test/Bitcode/DIExpression-deref.ll.bc (original) and llvm/trunk/test/Bitcode/DIExpression-deref.ll.bc Thu Sep 21 16:14:55 2017 differ




More information about the llvm-commits mailing list