mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-13 23:18:58 +00:00
7ad5ddeb72
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@264373 91177308-0d34-0410-b5e6-96231b3b80d8
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"}
|