]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - opencl/llvm.git/blobdiff - test/DebugInfo/X86/op_deref.ll
Fix a bug when pretty-printing DW_OP_deref.
[opencl/llvm.git] / test / DebugInfo / X86 / op_deref.ll
index 18c4fc15da7c6adc553535d5c48f278c9e82c715..ac90448012a946e3cbb3b98c30b025ea208b7f86 100644 (file)
@@ -23,6 +23,9 @@
 ; ASM-CHECK: DEBUG_VALUE: vla <- RCX
 ; ASM-CHECK: DW_OP_breg2
 
+; RUN: llvm-as %s -o - | llvm-dis - | FileCheck %s --check-prefix=PRETTY-PRINT
+; PRETTY-PRINT: [ DW_TAG_expression ] [DW_OP_deref]
+
 define void @testVLAwithSize(i32 %s) nounwind uwtable ssp {
 entry:
   %s.addr = alloca i32, align 4