1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 11:02:59 +02:00
llvm-mirror/test/Assembler/no-mdstring-upgrades.ll
Duncan P. N. Exon Smith 0c2bab754e IR: Stop upgrading !llvm.loop attachments via MDString
Remove logic to upgrade !llvm.loop by changing the MDString tag
directly.  This old logic would check (and change) arbitrary strings
that had nothing to do with loop metadata.  Instead, check !llvm.loop
attachments directly, and change which strings get attached.

Rather than updating the assembly-based upgrade, drop it entirely.  It
has been quite a while since we supported upgrading textual IR.

llvm-svn: 264373
2016-03-25 00:56:13 +00:00

11 lines
338 B
LLVM

; RUN: llvm-as < %s | llvm-dis | llvm-as | llvm-dis | FileCheck %s
; RUN: verify-uselistorder %s
; Make sure arbitrary metadata strings don't get mutated. These may be
; (strange) filenames that are part of debug info.
; CHECK: !named = !{!0}
!named = !{!0}
; CHECK: !0 = !{!"llvm.vectorizer.unroll"}
!0 = !{!"llvm.vectorizer.unroll"}