diff options
Diffstat (limited to 'llvm/test/CodeGen/NVPTX/generic-to-nvvm-ir.ll')
| -rw-r--r-- | llvm/test/CodeGen/NVPTX/generic-to-nvvm-ir.ll | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/test/CodeGen/NVPTX/generic-to-nvvm-ir.ll b/llvm/test/CodeGen/NVPTX/generic-to-nvvm-ir.ll index 623a2d8740c..2bd946d01eb 100644 --- a/llvm/test/CodeGen/NVPTX/generic-to-nvvm-ir.ll +++ b/llvm/test/CodeGen/NVPTX/generic-to-nvvm-ir.ll @@ -42,10 +42,10 @@ declare void @extfunc(i8 signext) !3 = !{!4} ; Find list of global variables and make sure it's the one used by DICompileUnit ; CHECK: [[GLOBALSNODE]] = !{[[GVNODE:![0-9]+]]} -!4 = distinct !DIGlobalVariable(name: "static_var", scope: !0, file: !1, line: 2, type: !5, isLocal: false, - isDefinition: true) +!4 = !DIGlobalVariableExpression(var: !DIGlobalVariable(name: "static_var", scope: !0, file: !1, line: 2, type: !5, isLocal: false, isDefinition: true)) ; Debug info must also be updated to reflect new address space. -; CHECK: [[GVNODE]] = distinct !DIGlobalVariable(name: "static_var" +; CHECK: [[GVNODE]] = !DIGlobalVariableExpression(var: [[GVVAR:.*]]) +; CHECK: [[GVVAR]] = !DIGlobalVariable(name: "static_var" ; CHECK-SAME: scope: [[CUNODE]] ; CHECK-SAME: type: [[TYPENODE:![0-9]+]] !5 = !DIBasicType(name: "char", size: 8, align: 8, encoding: DW_ATE_signed_char) |

