1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 03:33:20 +01:00
llvm-mirror/test/DebugInfo/strip-module-flags.ll
Vedant Kumar 563a747bd5 [opt] Introduce -strip-named-metadata
This renames and generalizes -strip-module-flags to erase all named
metadata from a module. This makes it easier to diff IR.

llvm-svn: 333977
2018-06-05 00:56:08 +00:00

11 lines
248 B
LLVM

; RUN: opt -strip-named-metadata < %s -S -o - | FileCheck %s
!llvm.module.flags = !{!0}
!0 = !{i32 2, !"Debug Info Version", i32 3}
!llvm.debugify = !{!0}
; CHECK-NOT: llvm.module.flags
; CHECK-NOT: Debug Info Version
; CHECK-NOT: llvm.debugify