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