mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 12:12:47 +01:00
81bb5f99ad
The data layout strings do not have any effect on llc tests and will become misleadingly out of date as we continue to update the canonical data layout, so remove them from the tests. Differential Revision: https://reviews.llvm.org/D105842
16 lines
369 B
LLVM
16 lines
369 B
LLVM
; RUN: llc < %s -mattr=+mutable-globals | FileCheck %s
|
|
|
|
; Test that mutable globals is properly emitted into the target features section
|
|
|
|
target triple = "wasm32-unknown-unknown"
|
|
|
|
define void @foo() {
|
|
ret void
|
|
}
|
|
|
|
; CHECK-LABEL: .custom_section.target_features
|
|
; CHECK-NEXT: .int8 1
|
|
; CHECK-NEXT: .int8 43
|
|
; CHECK-NEXT: .int8 15
|
|
; CHECK-NEXT: .ascii "mutable-globals"
|