mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-22 18:54:02 +01:00
67886a34d2
Summary: Most DIExpressions are empty or very simple. When they are complex, they tend to be unique, so checking them inline is reasonable. This also avoids the need for CodeGen passes to append to the llvm.dbg.mir named md node. See also PR22780, for making DIExpression not be an MDNode. Reviewers: aprantl, dexonsmith, dblaikie Subscribers: qcolombet, javed.absar, eraman, hiraditya, llvm-commits Differential Revision: https://reviews.llvm.org/D37075 llvm-svn: 311594
9 lines
317 B
LLVM
9 lines
317 B
LLVM
; RUN: not llvm-as -disable-output < %s 2>&1 | FileCheck -check-prefix VERIFY %s
|
|
; RUN: llvm-as -disable-verify < %s | llvm-dis | FileCheck -check-prefix NOVERIFY %s
|
|
|
|
; NOVERIFY: !named = !{!DIExpression(0, 1, 9, 7, 2)}
|
|
!named = !{!0}
|
|
|
|
; VERIFY: assembly parsed, but does not verify
|
|
!0 = !DIExpression(0, 1, 9, 7, 2)
|