mirror of
https://github.com/RPCS3/llvm.git
synced 2025-05-15 09:56:02 +00:00

This renames and generalizes -strip-module-flags to erase all named metadata from a module. This makes it easier to diff IR. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@333977 91177308-0d34-0410-b5e6-96231b3b80d8
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
|