mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 03:33:20 +01:00
563a747bd5
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
11 lines
248 B
LLVM
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
|