From a5908009cdf96ed376d73f91a8418b97057b663e Mon Sep 17 00:00:00 2001 From: Sam Clegg Date: Thu, 10 May 2018 17:49:11 +0000 Subject: [PATCH] [WebAsembly] Update default triple in test files to wasm32-unknown-unkown. Summary: The final -wasm component has been the default for some time now. Subscribers: jfb, dschuff, jgravelle-google, eraman, aheejin, JDevlieghere, sunfish, llvm-commits Differential Revision: https://reviews.llvm.org/D46342 llvm-svn: 332007 --- llvm/test/CodeGen/WebAssembly/address-offsets.ll | 2 +- llvm/test/CodeGen/WebAssembly/byval.ll | 2 +- llvm/test/CodeGen/WebAssembly/call.ll | 2 +- llvm/test/CodeGen/WebAssembly/cfg-stackify.ll | 2 +- llvm/test/CodeGen/WebAssembly/cfi.ll | 2 +- llvm/test/CodeGen/WebAssembly/comparisons_f32.ll | 2 +- llvm/test/CodeGen/WebAssembly/comparisons_f64.ll | 2 +- llvm/test/CodeGen/WebAssembly/comparisons_i32.ll | 2 +- llvm/test/CodeGen/WebAssembly/comparisons_i64.ll | 2 +- llvm/test/CodeGen/WebAssembly/conv-trap.ll | 2 +- llvm/test/CodeGen/WebAssembly/conv.ll | 2 +- llvm/test/CodeGen/WebAssembly/copysign-casts.ll | 2 +- llvm/test/CodeGen/WebAssembly/cpus.ll | 8 ++++---- llvm/test/CodeGen/WebAssembly/custom-sections.ll | 2 +- llvm/test/CodeGen/WebAssembly/dbgvalue.ll | 2 +- llvm/test/CodeGen/WebAssembly/dead-vreg.ll | 2 +- llvm/test/CodeGen/WebAssembly/divrem-constant.ll | 2 +- llvm/test/CodeGen/WebAssembly/exception.ll | 2 +- llvm/test/CodeGen/WebAssembly/f16.ll | 2 +- llvm/test/CodeGen/WebAssembly/f32.ll | 2 +- llvm/test/CodeGen/WebAssembly/f64.ll | 2 +- llvm/test/CodeGen/WebAssembly/fast-isel-i24.ll | 2 +- llvm/test/CodeGen/WebAssembly/fast-isel-noreg.ll | 2 +- llvm/test/CodeGen/WebAssembly/fast-isel.ll | 2 +- llvm/test/CodeGen/WebAssembly/frem.ll | 2 +- llvm/test/CodeGen/WebAssembly/func.ll | 2 +- llvm/test/CodeGen/WebAssembly/function-bitcasts-varargs.ll | 2 +- llvm/test/CodeGen/WebAssembly/function-bitcasts.ll | 2 +- llvm/test/CodeGen/WebAssembly/global.ll | 2 +- llvm/test/CodeGen/WebAssembly/globl.ll | 2 +- llvm/test/CodeGen/WebAssembly/i128-returned.ll | 2 +- llvm/test/CodeGen/WebAssembly/i128.ll | 2 +- llvm/test/CodeGen/WebAssembly/i32-load-store-alignment.ll | 2 +- llvm/test/CodeGen/WebAssembly/i32.ll | 2 +- llvm/test/CodeGen/WebAssembly/i64-load-store-alignment.ll | 2 +- llvm/test/CodeGen/WebAssembly/i64.ll | 2 +- llvm/test/CodeGen/WebAssembly/ident.ll | 2 +- llvm/test/CodeGen/WebAssembly/immediates.ll | 2 +- llvm/test/CodeGen/WebAssembly/implicit-def.ll | 2 +- llvm/test/CodeGen/WebAssembly/import-module.ll | 2 +- llvm/test/CodeGen/WebAssembly/inline-asm-m.ll | 2 +- llvm/test/CodeGen/WebAssembly/inline-asm.ll | 2 +- llvm/test/CodeGen/WebAssembly/irreducible-cfg.ll | 2 +- llvm/test/CodeGen/WebAssembly/legalize.ll | 2 +- llvm/test/CodeGen/WebAssembly/libcalls.ll | 2 +- llvm/test/CodeGen/WebAssembly/load-ext-atomic.ll | 2 +- llvm/test/CodeGen/WebAssembly/load-ext.ll | 2 +- llvm/test/CodeGen/WebAssembly/load-store-i1.ll | 2 +- llvm/test/CodeGen/WebAssembly/load.ll | 2 +- llvm/test/CodeGen/WebAssembly/lower-em-ehsjlj-options.ll | 2 +- llvm/test/CodeGen/WebAssembly/lower-em-exceptions-whitelist.ll | 2 +- llvm/test/CodeGen/WebAssembly/lower-em-exceptions.ll | 2 +- llvm/test/CodeGen/WebAssembly/lower-em-sjlj.ll | 2 +- llvm/test/CodeGen/WebAssembly/lower-global-dtors.ll | 2 +- llvm/test/CodeGen/WebAssembly/main-declaration.ll | 2 +- llvm/test/CodeGen/WebAssembly/main.ll | 2 +- llvm/test/CodeGen/WebAssembly/mem-intrinsics.ll | 2 +- llvm/test/CodeGen/WebAssembly/memory-addr32.ll | 2 +- llvm/test/CodeGen/WebAssembly/non-executable-stack.ll | 2 +- llvm/test/CodeGen/WebAssembly/offset-atomics.ll | 2 +- llvm/test/CodeGen/WebAssembly/offset-folding.ll | 2 +- llvm/test/CodeGen/WebAssembly/offset.ll | 2 +- llvm/test/CodeGen/WebAssembly/phi.ll | 2 +- llvm/test/CodeGen/WebAssembly/reg-stackify.ll | 2 +- llvm/test/CodeGen/WebAssembly/return-int32.ll | 2 +- llvm/test/CodeGen/WebAssembly/return-void.ll | 2 +- llvm/test/CodeGen/WebAssembly/returned.ll | 2 +- llvm/test/CodeGen/WebAssembly/select.ll | 2 +- llvm/test/CodeGen/WebAssembly/signext-arg.ll | 2 +- llvm/test/CodeGen/WebAssembly/signext-inreg.ll | 2 +- llvm/test/CodeGen/WebAssembly/signext-zeroext.ll | 2 +- llvm/test/CodeGen/WebAssembly/simd-arith.ll | 2 +- llvm/test/CodeGen/WebAssembly/stack-alignment.ll | 2 +- llvm/test/CodeGen/WebAssembly/store-trunc.ll | 2 +- llvm/test/CodeGen/WebAssembly/store.ll | 2 +- llvm/test/CodeGen/WebAssembly/switch.ll | 2 +- llvm/test/CodeGen/WebAssembly/tls.ll | 2 +- llvm/test/CodeGen/WebAssembly/umulo-i64.ll | 2 +- llvm/test/CodeGen/WebAssembly/unreachable.ll | 2 +- llvm/test/CodeGen/WebAssembly/unsupported-function-bitcasts.ll | 2 +- llvm/test/CodeGen/WebAssembly/unused-argument.ll | 2 +- llvm/test/CodeGen/WebAssembly/userstack.ll | 2 +- llvm/test/CodeGen/WebAssembly/varargs.ll | 2 +- llvm/test/CodeGen/WebAssembly/vtable.ll | 2 +- llvm/test/DebugInfo/WebAssembly/dbg-declare.ll | 6 +++--- llvm/test/DebugInfo/WebAssembly/dbg-loop-loc.ll | 2 +- llvm/test/MC/WebAssembly/array-fill.ll | 2 +- llvm/test/MC/WebAssembly/basic-assembly.s | 2 +- llvm/test/MC/WebAssembly/blockaddress.ll | 2 +- llvm/test/MC/WebAssembly/bss.ll | 2 +- llvm/test/MC/WebAssembly/comdat.ll | 2 +- llvm/test/MC/WebAssembly/custom-code-section.ll | 2 +- llvm/test/MC/WebAssembly/custom-sections.ll | 2 +- llvm/test/MC/WebAssembly/debug-info.ll | 2 +- llvm/test/MC/WebAssembly/dwarfdump.ll | 2 +- llvm/test/MC/WebAssembly/explicit-sections.ll | 2 +- llvm/test/MC/WebAssembly/external-data.ll | 2 +- llvm/test/MC/WebAssembly/external-func-address.ll | 2 +- llvm/test/MC/WebAssembly/file-headers.ll | 2 +- llvm/test/MC/WebAssembly/func-address.ll | 2 +- llvm/test/MC/WebAssembly/global-ctor-dtor.ll | 2 +- llvm/test/MC/WebAssembly/libcall.ll | 2 +- llvm/test/MC/WebAssembly/offset.ll | 2 +- llvm/test/MC/WebAssembly/reloc-code.ll | 2 +- llvm/test/MC/WebAssembly/reloc-data.ll | 2 +- llvm/test/MC/WebAssembly/sections.ll | 2 +- llvm/test/MC/WebAssembly/stack-ptr.ll | 2 +- llvm/test/MC/WebAssembly/unnamed-data.ll | 2 +- llvm/test/MC/WebAssembly/visibility.ll | 2 +- llvm/test/MC/WebAssembly/weak-alias.ll | 2 +- llvm/test/MC/WebAssembly/weak.ll | 2 +- llvm/test/Object/Inputs/trivial.ll | 2 +- llvm/test/tools/llvm-nm/wasm/local-symbols.ll | 2 +- llvm/test/tools/llvm-objdump/Inputs/trivial.ll | 2 +- llvm/test/tools/llvm-objdump/WebAssembly/relocations.test | 2 +- llvm/test/tools/llvm-readobj/Inputs/trivial.ll | 2 +- 116 files changed, 121 insertions(+), 121 deletions(-) diff --git a/llvm/test/CodeGen/WebAssembly/address-offsets.ll b/llvm/test/CodeGen/WebAssembly/address-offsets.ll index da19897..9fdbd54 100644 --- a/llvm/test/CodeGen/WebAssembly/address-offsets.ll +++ b/llvm/test/CodeGen/WebAssembly/address-offsets.ll @@ -4,7 +4,7 @@ ; a variety of circumstances. target datalayout = "e-m:e-p:32:32-i64:64-n32:64-S128" -target triple = "wasm32-unknown-unknown-wasm" +target triple = "wasm32-unknown-unknown" @g = external global [0 x i32], align 4 diff --git a/llvm/test/CodeGen/WebAssembly/byval.ll b/llvm/test/CodeGen/WebAssembly/byval.ll index 84c5ad0..13cf397 100644 --- a/llvm/test/CodeGen/WebAssembly/byval.ll +++ b/llvm/test/CodeGen/WebAssembly/byval.ll @@ -2,7 +2,7 @@ ; RUN: llc < %s -asm-verbose=false -disable-wasm-fallthrough-return-opt -disable-wasm-explicit-locals -verify-machineinstrs -fast-isel | FileCheck %s target datalayout = "e-m:e-p:32:32-i64:64-n32:64-S128" -target triple = "wasm32-unknown-unknown-wasm" +target triple = "wasm32-unknown-unknown" %SmallStruct = type { i32 } %OddStruct = type { i32, i8, i32 } diff --git a/llvm/test/CodeGen/WebAssembly/call.ll b/llvm/test/CodeGen/WebAssembly/call.ll index 8a5e8d8..ad494fb 100644 --- a/llvm/test/CodeGen/WebAssembly/call.ll +++ b/llvm/test/CodeGen/WebAssembly/call.ll @@ -4,7 +4,7 @@ ; Test that basic call operations assemble as expected. target datalayout = "e-m:e-p:32:32-i64:64-n32:64-S128" -target triple = "wasm32-unknown-unknown-wasm" +target triple = "wasm32-unknown-unknown" declare i32 @i32_nullary() declare i32 @i32_unary(i32) diff --git a/llvm/test/CodeGen/WebAssembly/cfg-stackify.ll b/llvm/test/CodeGen/WebAssembly/cfg-stackify.ll index 1a5bce5..56ff2e0a 100644 --- a/llvm/test/CodeGen/WebAssembly/cfg-stackify.ll +++ b/llvm/test/CodeGen/WebAssembly/cfg-stackify.ll @@ -7,7 +7,7 @@ ; optnone test. target datalayout = "e-m:e-p:32:32-i64:64-n32:64-S128" -target triple = "wasm32-unknown-unknown-wasm" +target triple = "wasm32-unknown-unknown" declare void @something() diff --git a/llvm/test/CodeGen/WebAssembly/cfi.ll b/llvm/test/CodeGen/WebAssembly/cfi.ll index 992e0f0..e5664ba 100644 --- a/llvm/test/CodeGen/WebAssembly/cfi.ll +++ b/llvm/test/CodeGen/WebAssembly/cfi.ll @@ -3,7 +3,7 @@ ; Tests that we correctly assign indexes for control flow integrity. target datalayout = "e-m:e-p:32:32-i64:64-n32:64-S128" -target triple = "wasm32-unknown-unknown-wasm" +target triple = "wasm32-unknown-unknown" @0 = private unnamed_addr constant [2 x void (...)*] [void (...)* bitcast (void ()* @f to void (...)*), void (...)* bitcast (void ()* @g to void (...)*)], align 16 diff --git a/llvm/test/CodeGen/WebAssembly/comparisons_f32.ll b/llvm/test/CodeGen/WebAssembly/comparisons_f32.ll index 91b9370..52df2fd 100644 --- a/llvm/test/CodeGen/WebAssembly/comparisons_f32.ll +++ b/llvm/test/CodeGen/WebAssembly/comparisons_f32.ll @@ -4,7 +4,7 @@ ; expected. target datalayout = "e-m:e-p:32:32-i64:64-n32:64-S128" -target triple = "wasm32-unknown-unknown-wasm" +target triple = "wasm32-unknown-unknown" ; CHECK-LABEL: ord_f32: ; CHECK-NEXT: .param f32, f32{{$}} diff --git a/llvm/test/CodeGen/WebAssembly/comparisons_f64.ll b/llvm/test/CodeGen/WebAssembly/comparisons_f64.ll index 1c6808a..bb42e89 100644 --- a/llvm/test/CodeGen/WebAssembly/comparisons_f64.ll +++ b/llvm/test/CodeGen/WebAssembly/comparisons_f64.ll @@ -4,7 +4,7 @@ ; expected. target datalayout = "e-m:e-p:32:32-i64:64-n32:64-S128" -target triple = "wasm32-unknown-unknown-wasm" +target triple = "wasm32-unknown-unknown" ; CHECK-LABEL: ord_f64: ; CHECK-NEXT: .param f64, f64{{$}} diff --git a/llvm/test/CodeGen/WebAssembly/comparisons_i32.ll b/llvm/test/CodeGen/WebAssembly/comparisons_i32.ll index a9a79c2..fb1fb3b 100644 --- a/llvm/test/CodeGen/WebAssembly/comparisons_i32.ll +++ b/llvm/test/CodeGen/WebAssembly/comparisons_i32.ll @@ -4,7 +4,7 @@ ; Test that basic 32-bit integer comparison operations assemble as expected. target datalayout = "e-m:e-p:32:32-i64:64-n32:64-S128" -target triple = "wasm32-unknown-unknown-wasm" +target triple = "wasm32-unknown-unknown" ; CHECK-LABEL: eq_i32: ; CHECK-NEXT: .param i32, i32{{$}} diff --git a/llvm/test/CodeGen/WebAssembly/comparisons_i64.ll b/llvm/test/CodeGen/WebAssembly/comparisons_i64.ll index 1065204..a10c319 100644 --- a/llvm/test/CodeGen/WebAssembly/comparisons_i64.ll +++ b/llvm/test/CodeGen/WebAssembly/comparisons_i64.ll @@ -4,7 +4,7 @@ ; Test that basic 64-bit integer comparison operations assemble as expected. target datalayout = "e-m:e-p:32:32-i64:64-n32:64-S128" -target triple = "wasm32-unknown-unknown-wasm" +target triple = "wasm32-unknown-unknown" ; CHECK-LABEL: eq_i64: ; CHECK-NEXT: .param i64, i64{{$}} diff --git a/llvm/test/CodeGen/WebAssembly/conv-trap.ll b/llvm/test/CodeGen/WebAssembly/conv-trap.ll index e20ed0a..42bd841 100644 --- a/llvm/test/CodeGen/WebAssembly/conv-trap.ll +++ b/llvm/test/CodeGen/WebAssembly/conv-trap.ll @@ -4,7 +4,7 @@ ; the trapping opcodes and explicit code to suppress the trapping. target datalayout = "e-m:e-p:32:32-i64:64-n32:64-S128" -target triple = "wasm32-unknown-unknown-wasm" +target triple = "wasm32-unknown-unknown" ; CHECK-LABEL: i32_trunc_s_f32: ; CHECK-NEXT: .param f32{{$}} diff --git a/llvm/test/CodeGen/WebAssembly/conv.ll b/llvm/test/CodeGen/WebAssembly/conv.ll index 7633f97..d43810f 100644 --- a/llvm/test/CodeGen/WebAssembly/conv.ll +++ b/llvm/test/CodeGen/WebAssembly/conv.ll @@ -3,7 +3,7 @@ ; Test that basic conversion operations assemble as expected. target datalayout = "e-m:e-p:32:32-i64:64-n32:64-S128" -target triple = "wasm32-unknown-unknown-wasm" +target triple = "wasm32-unknown-unknown" ; CHECK-LABEL: i32_wrap_i64: ; CHECK-NEXT: .param i64{{$}} diff --git a/llvm/test/CodeGen/WebAssembly/copysign-casts.ll b/llvm/test/CodeGen/WebAssembly/copysign-casts.ll index 7cd40ef..af62c75 100644 --- a/llvm/test/CodeGen/WebAssembly/copysign-casts.ll +++ b/llvm/test/CodeGen/WebAssembly/copysign-casts.ll @@ -4,7 +4,7 @@ ; unfolded. target datalayout = "e-m:e-p:32:32-i64:64-n32:64-S128" -target triple = "wasm32-unknown-unknown-wasm" +target triple = "wasm32-unknown-unknown" declare double @copysign(double, double) nounwind readnone declare float @copysignf(float, float) nounwind readnone diff --git a/llvm/test/CodeGen/WebAssembly/cpus.ll b/llvm/test/CodeGen/WebAssembly/cpus.ll index 9b4ac44..8ede6cb 100644 --- a/llvm/test/CodeGen/WebAssembly/cpus.ll +++ b/llvm/test/CodeGen/WebAssembly/cpus.ll @@ -1,12 +1,12 @@ ; This tests that llc accepts all valid WebAssembly CPUs. -; RUN: llc < %s -asm-verbose=false -mtriple=wasm32-unknown-unknown-wasm -mcpu=mvp 2>&1 | FileCheck %s +; RUN: llc < %s -asm-verbose=false -mtriple=wasm32-unknown-unknown -mcpu=mvp 2>&1 | FileCheck %s ; RUN: llc < %s -asm-verbose=false -mtriple=wasm64-unknown-unknown-wasm -mcpu=mvp 2>&1 | FileCheck %s -; RUN: llc < %s -asm-verbose=false -mtriple=wasm32-unknown-unknown-wasm -mcpu=generic 2>&1 | FileCheck %s +; RUN: llc < %s -asm-verbose=false -mtriple=wasm32-unknown-unknown -mcpu=generic 2>&1 | FileCheck %s ; RUN: llc < %s -asm-verbose=false -mtriple=wasm64-unknown-unknown-wasm -mcpu=generic 2>&1 | FileCheck %s -; RUN: llc < %s -asm-verbose=false -mtriple=wasm32-unknown-unknown-wasm -mcpu=bleeding-edge 2>&1 | FileCheck %s +; RUN: llc < %s -asm-verbose=false -mtriple=wasm32-unknown-unknown -mcpu=bleeding-edge 2>&1 | FileCheck %s ; RUN: llc < %s -asm-verbose=false -mtriple=wasm64-unknown-unknown-wasm -mcpu=bleeding-edge 2>&1 | FileCheck %s -; RUN: llc < %s -asm-verbose=false -mtriple=wasm32-unknown-unknown-wasm -mcpu=invalidcpu 2>&1 | FileCheck %s --check-prefix=INVALID +; RUN: llc < %s -asm-verbose=false -mtriple=wasm32-unknown-unknown -mcpu=invalidcpu 2>&1 | FileCheck %s --check-prefix=INVALID ; RUN: llc < %s -asm-verbose=false -mtriple=wasm64-unknown-unknown-wasm -mcpu=invalidcpu 2>&1 | FileCheck %s --check-prefix=INVALID ; CHECK-NOT: is not a recognized processor for this target diff --git a/llvm/test/CodeGen/WebAssembly/custom-sections.ll b/llvm/test/CodeGen/WebAssembly/custom-sections.ll index c16d635..cf21b0a 100644 --- a/llvm/test/CodeGen/WebAssembly/custom-sections.ll +++ b/llvm/test/CodeGen/WebAssembly/custom-sections.ll @@ -3,7 +3,7 @@ ; Test the mechanism for defining user custom sections. target datalayout = "e-m:e-p:32:32-i64:64-n32:64-S128" -target triple = "wasm32-unknown-unknown-wasm" +target triple = "wasm32-unknown-unknown" !0 = !{ !"red", !"foo" } !1 = !{ !"green", !"bar" } diff --git a/llvm/test/CodeGen/WebAssembly/dbgvalue.ll b/llvm/test/CodeGen/WebAssembly/dbgvalue.ll index 423c091..df64033 100644 --- a/llvm/test/CodeGen/WebAssembly/dbgvalue.ll +++ b/llvm/test/CodeGen/WebAssembly/dbgvalue.ll @@ -6,7 +6,7 @@ ; CHECK: DW_TAG_variable source_filename = "test/CodeGen/WebAssembly/dbgvalue.ll" target datalayout = "e-m:e-p:32:32-i64:64-n32:64-S128" -target triple = "wasm32-unknown-unknown-wasm" +target triple = "wasm32-unknown-unknown" @key = external local_unnamed_addr global [15 x i8], align 1 @.str = external unnamed_addr constant [33 x i8], align 1 diff --git a/llvm/test/CodeGen/WebAssembly/dead-vreg.ll b/llvm/test/CodeGen/WebAssembly/dead-vreg.ll index 06487e4..190a085 100644 --- a/llvm/test/CodeGen/WebAssembly/dead-vreg.ll +++ b/llvm/test/CodeGen/WebAssembly/dead-vreg.ll @@ -3,7 +3,7 @@ ; Check that unused vregs aren't assigned registers. target datalayout = "e-m:e-p:32:32-i64:64-n32:64-S128" -target triple = "wasm32-unknown-unknown-wasm" +target triple = "wasm32-unknown-unknown" define void @foo(i32* nocapture %a, i32 %w, i32 %h) { ; CHECK-LABEL: foo: diff --git a/llvm/test/CodeGen/WebAssembly/divrem-constant.ll b/llvm/test/CodeGen/WebAssembly/divrem-constant.ll index 1b4d30a..6150cab 100644 --- a/llvm/test/CodeGen/WebAssembly/divrem-constant.ll +++ b/llvm/test/CodeGen/WebAssembly/divrem-constant.ll @@ -3,7 +3,7 @@ ; Test that integer div and rem by constant are optimized appropriately. target datalayout = "e-m:e-p:32:32-i64:64-n32:64-S128" -target triple = "wasm32-unknown-unknown-wasm" +target triple = "wasm32-unknown-unknown" ; CHECK-LABEL: test_udiv_2: ; CHECK: i32.shr_u diff --git a/llvm/test/CodeGen/WebAssembly/exception.ll b/llvm/test/CodeGen/WebAssembly/exception.ll index eedb5c7..014b520 100644 --- a/llvm/test/CodeGen/WebAssembly/exception.ll +++ b/llvm/test/CodeGen/WebAssembly/exception.ll @@ -1,7 +1,7 @@ ; RUN: llc < %s -asm-verbose=false -disable-wasm-fallthrough-return-opt -disable-wasm-explicit-locals | FileCheck %s target datalayout = "e-m:e-p:32:32-i64:64-n32:64-S128" -target triple = "wasm32-unknown-unknown-wasm" +target triple = "wasm32-unknown-unknown" declare void @llvm.wasm.throw(i32, i8*) declare void @llvm.wasm.rethrow() diff --git a/llvm/test/CodeGen/WebAssembly/f16.ll b/llvm/test/CodeGen/WebAssembly/f16.ll index 6915f93..2056043 100644 --- a/llvm/test/CodeGen/WebAssembly/f16.ll +++ b/llvm/test/CodeGen/WebAssembly/f16.ll @@ -4,7 +4,7 @@ ; Test that f16 is expanded. target datalayout = "e-m:e-p:32:32-i64:64-n32:64-S128" -target triple = "wasm32-unknown-unknown-wasm" +target triple = "wasm32-unknown-unknown" ; CHECK-LABEL: demote: ; CHECK-NEXT: .param f32{{$}} diff --git a/llvm/test/CodeGen/WebAssembly/f32.ll b/llvm/test/CodeGen/WebAssembly/f32.ll index 45f00aa..fa513fc 100644 --- a/llvm/test/CodeGen/WebAssembly/f32.ll +++ b/llvm/test/CodeGen/WebAssembly/f32.ll @@ -3,7 +3,7 @@ ; Test that basic 32-bit floating-point operations assemble as expected. target datalayout = "e-m:e-p:32:32-i64:64-n32:64-S128" -target triple = "wasm32-unknown-unknown-wasm" +target triple = "wasm32-unknown-unknown" declare float @llvm.fabs.f32(float) declare float @llvm.copysign.f32(float, float) diff --git a/llvm/test/CodeGen/WebAssembly/f64.ll b/llvm/test/CodeGen/WebAssembly/f64.ll index fb52c3f..a919bc8 100644 --- a/llvm/test/CodeGen/WebAssembly/f64.ll +++ b/llvm/test/CodeGen/WebAssembly/f64.ll @@ -3,7 +3,7 @@ ; Test that basic 64-bit floating-point operations assemble as expected. target datalayout = "e-m:e-p:32:32-i64:64-n32:64-S128" -target triple = "wasm32-unknown-unknown-wasm" +target triple = "wasm32-unknown-unknown" declare double @llvm.fabs.f64(double) declare double @llvm.copysign.f64(double, double) diff --git a/llvm/test/CodeGen/WebAssembly/fast-isel-i24.ll b/llvm/test/CodeGen/WebAssembly/fast-isel-i24.ll index d3823f9..48618e7d 100644 --- a/llvm/test/CodeGen/WebAssembly/fast-isel-i24.ll +++ b/llvm/test/CodeGen/WebAssembly/fast-isel-i24.ll @@ -4,7 +4,7 @@ ; Test that fast-isel properly copes with i24 arguments and return types. target datalayout = "e-m:e-p:32:32-i64:64-n32:64-S128" -target triple = "wasm32-unknown-unknown-wasm" +target triple = "wasm32-unknown-unknown" define i24 @add(i24 %x, i24 %y) { %z = add i24 %x, %y diff --git a/llvm/test/CodeGen/WebAssembly/fast-isel-noreg.ll b/llvm/test/CodeGen/WebAssembly/fast-isel-noreg.ll index d0f60f2..7326016 100644 --- a/llvm/test/CodeGen/WebAssembly/fast-isel-noreg.ll +++ b/llvm/test/CodeGen/WebAssembly/fast-isel-noreg.ll @@ -4,7 +4,7 @@ ; Test that FastISel does not generate instructions with NoReg target datalayout = "e-m:e-p:32:32-i64:64-n32:64-S128" -target triple = "wasm32-unknown-unknown-wasm" +target triple = "wasm32-unknown-unknown" ; CHECK: i32.const $push0=, 0 define hidden i32 @a() #0 { diff --git a/llvm/test/CodeGen/WebAssembly/fast-isel.ll b/llvm/test/CodeGen/WebAssembly/fast-isel.ll index 457c587..36721c1 100644 --- a/llvm/test/CodeGen/WebAssembly/fast-isel.ll +++ b/llvm/test/CodeGen/WebAssembly/fast-isel.ll @@ -4,7 +4,7 @@ ; RUN: | FileCheck %s target datalayout = "e-m:e-p:32:32-i64:64-n32:64-S128" -target triple = "wasm32-unknown-unknown-wasm" +target triple = "wasm32-unknown-unknown" ; This tests very minimal fast-isel functionality. diff --git a/llvm/test/CodeGen/WebAssembly/frem.ll b/llvm/test/CodeGen/WebAssembly/frem.ll index 1a9c134..23447a7 100644 --- a/llvm/test/CodeGen/WebAssembly/frem.ll +++ b/llvm/test/CodeGen/WebAssembly/frem.ll @@ -3,7 +3,7 @@ ; Test that the frem instruction works. target datalayout = "e-m:e-p:32:32-i64:64-n32:64-S128" -target triple = "wasm32-unknown-unknown-wasm" +target triple = "wasm32-unknown-unknown" ; CHECK-LABEL: frem32: ; CHECK-NEXT: .param f32, f32{{$}} diff --git a/llvm/test/CodeGen/WebAssembly/func.ll b/llvm/test/CodeGen/WebAssembly/func.ll index 994ef62..213e591 100644 --- a/llvm/test/CodeGen/WebAssembly/func.ll +++ b/llvm/test/CodeGen/WebAssembly/func.ll @@ -3,7 +3,7 @@ ; Test that basic functions assemble as expected. target datalayout = "e-m:e-p:32:32-i64:64-n32:64-S128" -target triple = "wasm32-unknown-unknown-wasm" +target triple = "wasm32-unknown-unknown" ; CHECK-LABEL: f0: ; CHECK: return{{$}} diff --git a/llvm/test/CodeGen/WebAssembly/function-bitcasts-varargs.ll b/llvm/test/CodeGen/WebAssembly/function-bitcasts-varargs.ll index b5f3d2f..5f1997b 100644 --- a/llvm/test/CodeGen/WebAssembly/function-bitcasts-varargs.ll +++ b/llvm/test/CodeGen/WebAssembly/function-bitcasts-varargs.ll @@ -4,7 +4,7 @@ ; wrappers. target datalayout = "e-m:e-p:32:32-i64:64-n32:64-S128" -target triple = "wasm32-unknown-unknown-wasm" +target triple = "wasm32-unknown-unknown" define void @callWithArgs() { entry: diff --git a/llvm/test/CodeGen/WebAssembly/function-bitcasts.ll b/llvm/test/CodeGen/WebAssembly/function-bitcasts.ll index ab03716..d3553a4 100644 --- a/llvm/test/CodeGen/WebAssembly/function-bitcasts.ll +++ b/llvm/test/CodeGen/WebAssembly/function-bitcasts.ll @@ -3,7 +3,7 @@ ; Test that function pointer casts are replaced with wrappers. target datalayout = "e-m:e-p:32:32-i64:64-n32:64-S128" -target triple = "wasm32-unknown-unknown-wasm" +target triple = "wasm32-unknown-unknown" declare void @has_i32_arg(i32) declare i32 @has_i32_ret() diff --git a/llvm/test/CodeGen/WebAssembly/global.ll b/llvm/test/CodeGen/WebAssembly/global.ll index e42ddf4..a9dd4b6 100644 --- a/llvm/test/CodeGen/WebAssembly/global.ll +++ b/llvm/test/CodeGen/WebAssembly/global.ll @@ -3,7 +3,7 @@ ; Test that globals assemble as expected. target datalayout = "e-m:e-p:32:32-i64:64-n32:64-S128" -target triple = "wasm32-unknown-unknown-wasm" +target triple = "wasm32-unknown-unknown" ; CHECK-NOT: llvm.used ; CHECK-NOT: llvm.metadata diff --git a/llvm/test/CodeGen/WebAssembly/globl.ll b/llvm/test/CodeGen/WebAssembly/globl.ll index c3126d5..7f9f81d 100644 --- a/llvm/test/CodeGen/WebAssembly/globl.ll +++ b/llvm/test/CodeGen/WebAssembly/globl.ll @@ -1,7 +1,7 @@ ; RUN: llc < %s -asm-verbose=false | FileCheck %s target datalayout = "e-m:e-p:32:32-i64:64-n32:64-S128" -target triple = "wasm32-unknown-unknown-wasm" +target triple = "wasm32-unknown-unknown" ; CHECK: .globl foo ; CHECK: .type foo,@function diff --git a/llvm/test/CodeGen/WebAssembly/i128-returned.ll b/llvm/test/CodeGen/WebAssembly/i128-returned.ll index f6a459d..f1e1a70 100644 --- a/llvm/test/CodeGen/WebAssembly/i128-returned.ll +++ b/llvm/test/CodeGen/WebAssembly/i128-returned.ll @@ -4,7 +4,7 @@ ; PR36128 target datalayout = "e-m:e-p:32:32-i64:64-n32:64-S128" -target triple = "wasm32-unknown-unknown-wasm" +target triple = "wasm32-unknown-unknown" declare i128 @bar(i128 returned) diff --git a/llvm/test/CodeGen/WebAssembly/i128.ll b/llvm/test/CodeGen/WebAssembly/i128.ll index 2e44af9..29bf787 100644 --- a/llvm/test/CodeGen/WebAssembly/i128.ll +++ b/llvm/test/CodeGen/WebAssembly/i128.ll @@ -3,7 +3,7 @@ ; Test that basic 128-bit integer operations assemble as expected. target datalayout = "e-m:e-p:32:32-i64:64-n32:64-S128" -target triple = "wasm32-unknown-unknown-wasm" +target triple = "wasm32-unknown-unknown" declare i128 @llvm.ctlz.i128(i128, i1) declare i128 @llvm.cttz.i128(i128, i1) diff --git a/llvm/test/CodeGen/WebAssembly/i32-load-store-alignment.ll b/llvm/test/CodeGen/WebAssembly/i32-load-store-alignment.ll index 1296632..63b37b8 100644 --- a/llvm/test/CodeGen/WebAssembly/i32-load-store-alignment.ll +++ b/llvm/test/CodeGen/WebAssembly/i32-load-store-alignment.ll @@ -3,7 +3,7 @@ ; Test loads and stores with custom alignment values. target datalayout = "e-m:e-p:32:32-i64:64-n32:64-S128" -target triple = "wasm32-unknown-unknown-wasm" +target triple = "wasm32-unknown-unknown" ; CHECK-LABEL: ldi32_a1: ; CHECK-NEXT: .param i32{{$}} diff --git a/llvm/test/CodeGen/WebAssembly/i32.ll b/llvm/test/CodeGen/WebAssembly/i32.ll index e451695..f34319e 100644 --- a/llvm/test/CodeGen/WebAssembly/i32.ll +++ b/llvm/test/CodeGen/WebAssembly/i32.ll @@ -3,7 +3,7 @@ ; Test that basic 32-bit integer operations assemble as expected. target datalayout = "e-m:e-p:32:32-i64:64-n32:64-S128" -target triple = "wasm32-unknown-unknown-wasm" +target triple = "wasm32-unknown-unknown" declare i32 @llvm.ctlz.i32(i32, i1) declare i32 @llvm.cttz.i32(i32, i1) diff --git a/llvm/test/CodeGen/WebAssembly/i64-load-store-alignment.ll b/llvm/test/CodeGen/WebAssembly/i64-load-store-alignment.ll index 757f785..a2e6519 100644 --- a/llvm/test/CodeGen/WebAssembly/i64-load-store-alignment.ll +++ b/llvm/test/CodeGen/WebAssembly/i64-load-store-alignment.ll @@ -3,7 +3,7 @@ ; Test loads and stores with custom alignment values. target datalayout = "e-m:e-p:32:32-i64:64-n32:64-S128" -target triple = "wasm32-unknown-unknown-wasm" +target triple = "wasm32-unknown-unknown" ; CHECK-LABEL: ldi64_a1: ; CHECK-NEXT: .param i32{{$}} diff --git a/llvm/test/CodeGen/WebAssembly/i64.ll b/llvm/test/CodeGen/WebAssembly/i64.ll index 4386bed..915f97f 100644 --- a/llvm/test/CodeGen/WebAssembly/i64.ll +++ b/llvm/test/CodeGen/WebAssembly/i64.ll @@ -3,7 +3,7 @@ ; Test that basic 64-bit integer operations assemble as expected. target datalayout = "e-m:e-p:32:32-i64:64-n32:64-S128" -target triple = "wasm32-unknown-unknown-wasm" +target triple = "wasm32-unknown-unknown" declare i64 @llvm.ctlz.i64(i64, i1) declare i64 @llvm.cttz.i64(i64, i1) diff --git a/llvm/test/CodeGen/WebAssembly/ident.ll b/llvm/test/CodeGen/WebAssembly/ident.ll index e5d85d0..49c188e 100644 --- a/llvm/test/CodeGen/WebAssembly/ident.ll +++ b/llvm/test/CodeGen/WebAssembly/ident.ll @@ -3,7 +3,7 @@ ; Test llvm.ident. target datalayout = "e-m:e-p:32:32-i64:64-n32:64-S128" -target triple = "wasm32-unknown-unknown-wasm" +target triple = "wasm32-unknown-unknown" ; CHECK: .ident "hello world" diff --git a/llvm/test/CodeGen/WebAssembly/immediates.ll b/llvm/test/CodeGen/WebAssembly/immediates.ll index 1182423..3d11f94 100644 --- a/llvm/test/CodeGen/WebAssembly/immediates.ll +++ b/llvm/test/CodeGen/WebAssembly/immediates.ll @@ -3,7 +3,7 @@ ; Test that basic immediates assemble as expected. target datalayout = "e-m:e-p:32:32-i64:64-n32:64-S128" -target triple = "wasm32-unknown-unknown-wasm" +target triple = "wasm32-unknown-unknown" ; CHECK-LABEL: zero_i32: ; CHECK-NEXT: .result i32{{$}} diff --git a/llvm/test/CodeGen/WebAssembly/implicit-def.ll b/llvm/test/CodeGen/WebAssembly/implicit-def.ll index 81f9b65..da66be9 100644 --- a/llvm/test/CodeGen/WebAssembly/implicit-def.ll +++ b/llvm/test/CodeGen/WebAssembly/implicit-def.ll @@ -1,6 +1,6 @@ ; RUN: llc -o - %s -asm-verbose=false | FileCheck %s target datalayout = "e-m:e-p:32:32-i64:64-n32:64-S128" -target triple = "wasm32-unknown-unknown-wasm" +target triple = "wasm32-unknown-unknown" ; Test that stackified IMPLICIT_DEF instructions are converted into ; CONST_I32 to provide an explicit push. diff --git a/llvm/test/CodeGen/WebAssembly/import-module.ll b/llvm/test/CodeGen/WebAssembly/import-module.ll index e748b7e..c8ed962 100644 --- a/llvm/test/CodeGen/WebAssembly/import-module.ll +++ b/llvm/test/CodeGen/WebAssembly/import-module.ll @@ -1,7 +1,7 @@ ; RUN: llc < %s -asm-verbose=false | FileCheck %s target datalayout = "e-m:e-p:32:32-i64:64-n32:64-S128" -target triple = "wasm32-unknown-unknown-wasm" +target triple = "wasm32-unknown-unknown" define void @test() { call void @foo() diff --git a/llvm/test/CodeGen/WebAssembly/inline-asm-m.ll b/llvm/test/CodeGen/WebAssembly/inline-asm-m.ll index 8d514a5..bee834e 100644 --- a/llvm/test/CodeGen/WebAssembly/inline-asm-m.ll +++ b/llvm/test/CodeGen/WebAssembly/inline-asm-m.ll @@ -4,7 +4,7 @@ ; -no-integrated-as since these aren't actually valid assembly syntax. target datalayout = "e-m:e-p:32:32-i64:64-n32:64-S128" -target triple = "wasm32-unknown-unknown-wasm" +target triple = "wasm32-unknown-unknown" define void @bar(i32* %r, i32* %s) { entry: diff --git a/llvm/test/CodeGen/WebAssembly/inline-asm.ll b/llvm/test/CodeGen/WebAssembly/inline-asm.ll index 760b0ad..61290c8 100644 --- a/llvm/test/CodeGen/WebAssembly/inline-asm.ll +++ b/llvm/test/CodeGen/WebAssembly/inline-asm.ll @@ -4,7 +4,7 @@ ; actually valid assembly syntax. target datalayout = "e-m:e-p:32:32-i64:64-n32:64-S128" -target triple = "wasm32-unknown-unknown-wasm" +target triple = "wasm32-unknown-unknown" ; CHECK-LABEL: foo: ; CHECK-NEXT: .param i32{{$}} diff --git a/llvm/test/CodeGen/WebAssembly/irreducible-cfg.ll b/llvm/test/CodeGen/WebAssembly/irreducible-cfg.ll index dd47b58..2201bef 100644 --- a/llvm/test/CodeGen/WebAssembly/irreducible-cfg.ll +++ b/llvm/test/CodeGen/WebAssembly/irreducible-cfg.ll @@ -3,7 +3,7 @@ ; Test irreducible CFG handling. target datalayout = "e-m:e-p:32:32-i64:64-n32:64-S128" -target triple = "wasm32-unknown-unknown-wasm" +target triple = "wasm32-unknown-unknown" ; A simple loop with two entries. diff --git a/llvm/test/CodeGen/WebAssembly/legalize.ll b/llvm/test/CodeGen/WebAssembly/legalize.ll index 978e72b..56c2e5e 100644 --- a/llvm/test/CodeGen/WebAssembly/legalize.ll +++ b/llvm/test/CodeGen/WebAssembly/legalize.ll @@ -3,7 +3,7 @@ ; Test various types and operators that need to be legalized. target datalayout = "e-m:e-p:32:32-i64:64-n32:64-S128" -target triple = "wasm32-unknown-unknown-wasm" +target triple = "wasm32-unknown-unknown" ; CHECK-LABEL: shl_i3: ; CHECK: i32.const $push0=, 7{{$}} diff --git a/llvm/test/CodeGen/WebAssembly/libcalls.ll b/llvm/test/CodeGen/WebAssembly/libcalls.ll index 7c64258..bc905e2 100644 --- a/llvm/test/CodeGen/WebAssembly/libcalls.ll +++ b/llvm/test/CodeGen/WebAssembly/libcalls.ll @@ -3,7 +3,7 @@ ; Test a subset of compiler-rt/libm libcalls expected to be emitted by the wasm backend target datalayout = "e-m:e-p:32:32-i64:64-n32:64-S128" -target triple = "wasm32-unknown-unknown-wasm" +target triple = "wasm32-unknown-unknown" declare fp128 @llvm.sqrt.f128(fp128) declare fp128 @llvm.floor.f128(fp128) diff --git a/llvm/test/CodeGen/WebAssembly/load-ext-atomic.ll b/llvm/test/CodeGen/WebAssembly/load-ext-atomic.ll index 862f295..ff69be5 100644 --- a/llvm/test/CodeGen/WebAssembly/load-ext-atomic.ll +++ b/llvm/test/CodeGen/WebAssembly/load-ext-atomic.ll @@ -3,7 +3,7 @@ ; Test that extending loads are assembled properly. target datalayout = "e-m:e-p:32:32-i64:64-n32:64-S128" -target triple = "wasm32-unknown-unknown-wasm" +target triple = "wasm32-unknown-unknown" ; CHECK-LABEL: sext_i8_i32: ; CHECK: i32.atomic.load8_u $push0=, 0($0){{$}} diff --git a/llvm/test/CodeGen/WebAssembly/load-ext.ll b/llvm/test/CodeGen/WebAssembly/load-ext.ll index a624995..b690463 100644 --- a/llvm/test/CodeGen/WebAssembly/load-ext.ll +++ b/llvm/test/CodeGen/WebAssembly/load-ext.ll @@ -3,7 +3,7 @@ ; Test that extending loads are assembled properly. target datalayout = "e-m:e-p:32:32-i64:64-n32:64-S128" -target triple = "wasm32-unknown-unknown-wasm" +target triple = "wasm32-unknown-unknown" ; CHECK-LABEL: sext_i8_i32: ; CHECK: i32.load8_s $push0=, 0($0){{$}} diff --git a/llvm/test/CodeGen/WebAssembly/load-store-i1.ll b/llvm/test/CodeGen/WebAssembly/load-store-i1.ll index 9882609..f768faa 100644 --- a/llvm/test/CodeGen/WebAssembly/load-store-i1.ll +++ b/llvm/test/CodeGen/WebAssembly/load-store-i1.ll @@ -3,7 +3,7 @@ ; Test that i1 extending loads and truncating stores are assembled properly. target datalayout = "e-m:e-p:32:32-i64:64-n32:64-S128" -target triple = "wasm32-unknown-unknown-wasm" +target triple = "wasm32-unknown-unknown" ; CHECK-LABEL: load_u_i1_i32: ; CHECK: i32.load8_u $push[[NUM0:[0-9]+]]=, 0($0){{$}} diff --git a/llvm/test/CodeGen/WebAssembly/load.ll b/llvm/test/CodeGen/WebAssembly/load.ll index 165d145..62827da 100644 --- a/llvm/test/CodeGen/WebAssembly/load.ll +++ b/llvm/test/CodeGen/WebAssembly/load.ll @@ -4,7 +4,7 @@ ; Test that basic loads are assembled properly. target datalayout = "e-m:e-p:32:32-i64:64-n32:64-S128" -target triple = "wasm32-unknown-unknown-wasm" +target triple = "wasm32-unknown-unknown" ; CHECK-LABEL: ldi32: ; CHECK-NEXT: .param i32{{$}} diff --git a/llvm/test/CodeGen/WebAssembly/lower-em-ehsjlj-options.ll b/llvm/test/CodeGen/WebAssembly/lower-em-ehsjlj-options.ll index 91fde29..8283b49 100644 --- a/llvm/test/CodeGen/WebAssembly/lower-em-ehsjlj-options.ll +++ b/llvm/test/CodeGen/WebAssembly/lower-em-ehsjlj-options.ll @@ -3,7 +3,7 @@ ; RUN: llc < %s | FileCheck %s --check-prefix=NONE target datalayout = "e-m:e-p:32:32-i64:64-n32:64-S128" -target triple = "wasm32-unknown-unknown-wasm" +target triple = "wasm32-unknown-unknown" %struct.__jmp_buf_tag = type { [6 x i32], i32, [32 x i32] } diff --git a/llvm/test/CodeGen/WebAssembly/lower-em-exceptions-whitelist.ll b/llvm/test/CodeGen/WebAssembly/lower-em-exceptions-whitelist.ll index 3864e44..5fcc399 100644 --- a/llvm/test/CodeGen/WebAssembly/lower-em-exceptions-whitelist.ll +++ b/llvm/test/CodeGen/WebAssembly/lower-em-exceptions-whitelist.ll @@ -1,7 +1,7 @@ ; RUN: opt < %s -wasm-lower-em-ehsjlj -emscripten-cxx-exceptions-whitelist=do_catch -S | FileCheck %s target datalayout = "e-m:e-p:32:32-i64:64-n32:64-S128" -target triple = "wasm32-unknown-unknown-wasm" +target triple = "wasm32-unknown-unknown" define void @dont_catch() personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*) { ; CHECK-LABEL: @dont_catch( diff --git a/llvm/test/CodeGen/WebAssembly/lower-em-exceptions.ll b/llvm/test/CodeGen/WebAssembly/lower-em-exceptions.ll index 060f481..60953cd 100644 --- a/llvm/test/CodeGen/WebAssembly/lower-em-exceptions.ll +++ b/llvm/test/CodeGen/WebAssembly/lower-em-exceptions.ll @@ -1,7 +1,7 @@ ; RUN: opt < %s -wasm-lower-em-ehsjlj -S | FileCheck %s target datalayout = "e-m:e-p:32:32-i64:64-n32:64-S128" -target triple = "wasm32-unknown-unknown-wasm" +target triple = "wasm32-unknown-unknown" @_ZTIi = external constant i8* @_ZTIc = external constant i8* diff --git a/llvm/test/CodeGen/WebAssembly/lower-em-sjlj.ll b/llvm/test/CodeGen/WebAssembly/lower-em-sjlj.ll index cf42219..40b9d62 100644 --- a/llvm/test/CodeGen/WebAssembly/lower-em-sjlj.ll +++ b/llvm/test/CodeGen/WebAssembly/lower-em-sjlj.ll @@ -1,7 +1,7 @@ ; RUN: opt < %s -wasm-lower-em-ehsjlj -S | FileCheck %s target datalayout = "e-m:e-p:32:32-i64:64-n32:64-S128" -target triple = "wasm32-unknown-unknown-wasm" +target triple = "wasm32-unknown-unknown" %struct.__jmp_buf_tag = type { [6 x i32], i32, [32 x i32] } diff --git a/llvm/test/CodeGen/WebAssembly/lower-global-dtors.ll b/llvm/test/CodeGen/WebAssembly/lower-global-dtors.ll index c3d6540..f9b753e 100644 --- a/llvm/test/CodeGen/WebAssembly/lower-global-dtors.ll +++ b/llvm/test/CodeGen/WebAssembly/lower-global-dtors.ll @@ -1,7 +1,7 @@ ; RUN: llc < %s -asm-verbose=false | FileCheck --check-prefix=CHECK --check-prefix=FINI --check-prefix=NULL %s target datalayout = "e-m:e-p:32:32-i64:64-n32:64-S128" -target triple = "wasm32-unknown-unknown-wasm" +target triple = "wasm32-unknown-unknown" ; Test that @llvm.global_dtors is properly lowered into @llvm.global_ctors, ; grouping dtor calls by priority and associated symbol. diff --git a/llvm/test/CodeGen/WebAssembly/main-declaration.ll b/llvm/test/CodeGen/WebAssembly/main-declaration.ll index 4e33785..8d9414f 100644 --- a/llvm/test/CodeGen/WebAssembly/main-declaration.ll +++ b/llvm/test/CodeGen/WebAssembly/main-declaration.ll @@ -3,7 +3,7 @@ ; Test main functions with alternate signatures. target datalayout = "e-m:e-p:32:32-i64:64-n32:64-S128" -target triple = "wasm32-unknown-unknown-wasm" +target triple = "wasm32-unknown-unknown" declare void @main() diff --git a/llvm/test/CodeGen/WebAssembly/main.ll b/llvm/test/CodeGen/WebAssembly/main.ll index c77db84..09a4fea 100644 --- a/llvm/test/CodeGen/WebAssembly/main.ll +++ b/llvm/test/CodeGen/WebAssembly/main.ll @@ -3,7 +3,7 @@ ; Test main functions with alternate signatures. target datalayout = "e-m:e-p:32:32-i64:64-n32:64-S128" -target triple = "wasm32-unknown-unknown-wasm" +target triple = "wasm32-unknown-unknown" define void @main() { ret void diff --git a/llvm/test/CodeGen/WebAssembly/mem-intrinsics.ll b/llvm/test/CodeGen/WebAssembly/mem-intrinsics.ll index 1e28ef3..f6afc3e 100644 --- a/llvm/test/CodeGen/WebAssembly/mem-intrinsics.ll +++ b/llvm/test/CodeGen/WebAssembly/mem-intrinsics.ll @@ -3,7 +3,7 @@ ; Test memcpy, memmove, and memset intrinsics. target datalayout = "e-m:e-p:32:32-i64:64-n32:64-S128" -target triple = "wasm32-unknown-unknown-wasm" +target triple = "wasm32-unknown-unknown" declare void @llvm.memcpy.p0i8.p0i8.i32(i8* nocapture, i8* nocapture readonly, i32, i1) declare void @llvm.memmove.p0i8.p0i8.i32(i8* nocapture, i8* nocapture readonly, i32, i1) diff --git a/llvm/test/CodeGen/WebAssembly/memory-addr32.ll b/llvm/test/CodeGen/WebAssembly/memory-addr32.ll index 2d1f0f5..c8efa90 100644 --- a/llvm/test/CodeGen/WebAssembly/memory-addr32.ll +++ b/llvm/test/CodeGen/WebAssembly/memory-addr32.ll @@ -3,7 +3,7 @@ ; Test that basic memory operations assemble as expected with 32-bit addresses. target datalayout = "e-m:e-p:32:32-i64:64-n32:64-S128" -target triple = "wasm32-unknown-unknown-wasm" +target triple = "wasm32-unknown-unknown" declare i32 @llvm.wasm.mem.size.i32(i32) nounwind readonly declare i32 @llvm.wasm.mem.grow.i32(i32, i32) nounwind diff --git a/llvm/test/CodeGen/WebAssembly/non-executable-stack.ll b/llvm/test/CodeGen/WebAssembly/non-executable-stack.ll index f1e1ba3..b810637 100644 --- a/llvm/test/CodeGen/WebAssembly/non-executable-stack.ll +++ b/llvm/test/CodeGen/WebAssembly/non-executable-stack.ll @@ -4,6 +4,6 @@ ; because wasm's stack is always non-executable. target datalayout = "e-m:e-p:32:32-i64:64-n32:64-S128" -target triple = "wasm32-unknown-unknown-wasm" +target triple = "wasm32-unknown-unknown" ; CHECK-NOT: .note.GNU-stack diff --git a/llvm/test/CodeGen/WebAssembly/offset-atomics.ll b/llvm/test/CodeGen/WebAssembly/offset-atomics.ll index 3415f07..bb1799b 100644 --- a/llvm/test/CodeGen/WebAssembly/offset-atomics.ll +++ b/llvm/test/CodeGen/WebAssembly/offset-atomics.ll @@ -4,7 +4,7 @@ ; Test that atomic loads are assembled properly. target datalayout = "e-m:e-p:32:32-i64:64-n32:64-S128" -target triple = "wasm32-unknown-unknown-wasm" +target triple = "wasm32-unknown-unknown" ; CHECK-LABEL: load_i32_no_offset: ; CHECK: i32.atomic.load $push[[NUM:[0-9]+]]=, 0($0){{$}} diff --git a/llvm/test/CodeGen/WebAssembly/offset-folding.ll b/llvm/test/CodeGen/WebAssembly/offset-folding.ll index e8e98ec..863549f 100644 --- a/llvm/test/CodeGen/WebAssembly/offset-folding.ll +++ b/llvm/test/CodeGen/WebAssembly/offset-folding.ll @@ -3,7 +3,7 @@ ; Test that constant offsets can be folded into global addresses. target datalayout = "e-m:e-p:32:32-i64:64-n32:64-S128" -target triple = "wasm32-unknown-unknown-wasm" +target triple = "wasm32-unknown-unknown" @x = external global [0 x i32] @y = global [50 x i32] zeroinitializer diff --git a/llvm/test/CodeGen/WebAssembly/offset.ll b/llvm/test/CodeGen/WebAssembly/offset.ll index 27c7187..125fdd7 100644 --- a/llvm/test/CodeGen/WebAssembly/offset.ll +++ b/llvm/test/CodeGen/WebAssembly/offset.ll @@ -3,7 +3,7 @@ ; Test constant load and store address offsets. target datalayout = "e-m:e-p:32:32-i64:64-n32:64-S128" -target triple = "wasm32-unknown-unknown-wasm" +target triple = "wasm32-unknown-unknown" ; With an nuw add, we can fold an offset. diff --git a/llvm/test/CodeGen/WebAssembly/phi.ll b/llvm/test/CodeGen/WebAssembly/phi.ll index 4aae92d..d01aff4 100644 --- a/llvm/test/CodeGen/WebAssembly/phi.ll +++ b/llvm/test/CodeGen/WebAssembly/phi.ll @@ -3,7 +3,7 @@ ; Test that phis are lowered. target datalayout = "e-m:e-p:32:32-i64:64-n32:64-S128" -target triple = "wasm32-unknown-unknown-wasm" +target triple = "wasm32-unknown-unknown" ; Basic phi triangle. diff --git a/llvm/test/CodeGen/WebAssembly/reg-stackify.ll b/llvm/test/CodeGen/WebAssembly/reg-stackify.ll index 25adbc5..7195cd8 100644 --- a/llvm/test/CodeGen/WebAssembly/reg-stackify.ll +++ b/llvm/test/CodeGen/WebAssembly/reg-stackify.ll @@ -3,7 +3,7 @@ ; Test the register stackifier pass. target datalayout = "e-m:e-p:32:32-i64:64-n32:64-S128" -target triple = "wasm32-unknown-unknown-wasm" +target triple = "wasm32-unknown-unknown" ; No because of pointer aliasing. diff --git a/llvm/test/CodeGen/WebAssembly/return-int32.ll b/llvm/test/CodeGen/WebAssembly/return-int32.ll index a6634b7..48459e3 100644 --- a/llvm/test/CodeGen/WebAssembly/return-int32.ll +++ b/llvm/test/CodeGen/WebAssembly/return-int32.ll @@ -2,7 +2,7 @@ ; RUN: llc < %s -asm-verbose=false -fast-isel -fast-isel-abort=1 | FileCheck %s target datalayout = "e-m:e-p:32:32-i64:64-n32:64-S128" -target triple = "wasm32-unknown-unknown-wasm" +target triple = "wasm32-unknown-unknown" ; CHECK-LABEL: return_i32: ; CHECK-NEXT: .param i32{{$}} diff --git a/llvm/test/CodeGen/WebAssembly/return-void.ll b/llvm/test/CodeGen/WebAssembly/return-void.ll index 90cf37f..51530ee 100644 --- a/llvm/test/CodeGen/WebAssembly/return-void.ll +++ b/llvm/test/CodeGen/WebAssembly/return-void.ll @@ -2,7 +2,7 @@ ; RUN: llc < %s -asm-verbose=false -fast-isel -fast-isel-abort=1 | FileCheck %s target datalayout = "e-m:e-p:32:32-i64:64-n32:64-S128" -target triple = "wasm32-unknown-unknown-wasm" +target triple = "wasm32-unknown-unknown" ; CHECK-LABEL: return_void: ; CHECK-NEXT: end_function{{$}} diff --git a/llvm/test/CodeGen/WebAssembly/returned.ll b/llvm/test/CodeGen/WebAssembly/returned.ll index dfd3fad..4032daf 100644 --- a/llvm/test/CodeGen/WebAssembly/returned.ll +++ b/llvm/test/CodeGen/WebAssembly/returned.ll @@ -3,7 +3,7 @@ ; Test that the "returned" attribute is optimized effectively. target datalayout = "e-m:e-p:32:32-i64:64-n32:64-S128" -target triple = "wasm32-unknown-unknown-wasm" +target triple = "wasm32-unknown-unknown" ; CHECK-LABEL: _Z3foov: ; CHECK-NEXT: .result i32{{$}} diff --git a/llvm/test/CodeGen/WebAssembly/select.ll b/llvm/test/CodeGen/WebAssembly/select.ll index b25f16c..cf3b5b9 100644 --- a/llvm/test/CodeGen/WebAssembly/select.ll +++ b/llvm/test/CodeGen/WebAssembly/select.ll @@ -4,7 +4,7 @@ ; Test that wasm select instruction is selected from LLVM select instruction. target datalayout = "e-m:e-p:32:32-i64:64-n32:64-S128" -target triple = "wasm32-unknown-unknown-wasm" +target triple = "wasm32-unknown-unknown" ; CHECK-LABEL: select_i32_bool: ; CHECK-NEXT: .param i32, i32, i32{{$}} diff --git a/llvm/test/CodeGen/WebAssembly/signext-arg.ll b/llvm/test/CodeGen/WebAssembly/signext-arg.ll index 2e72532..d32da30 100644 --- a/llvm/test/CodeGen/WebAssembly/signext-arg.ll +++ b/llvm/test/CodeGen/WebAssembly/signext-arg.ll @@ -2,7 +2,7 @@ ; RUN: llc < %s -asm-verbose=false -disable-wasm-explicit-locals | FileCheck %s target datalayout = "e-m:e-p:32:32-i64:64-n32:64-S128" -target triple = "wasm32-unknown-unknown-wasm" +target triple = "wasm32-unknown-unknown" declare i32 @get_int(i16 %arg) diff --git a/llvm/test/CodeGen/WebAssembly/signext-inreg.ll b/llvm/test/CodeGen/WebAssembly/signext-inreg.ll index 00637f1..495c547 100644 --- a/llvm/test/CodeGen/WebAssembly/signext-inreg.ll +++ b/llvm/test/CodeGen/WebAssembly/signext-inreg.ll @@ -2,7 +2,7 @@ ; RUN: llc < %s -asm-verbose=false -disable-wasm-fallthrough-return-opt -disable-wasm-explicit-locals | FileCheck %s --check-prefix=NOSIGNEXT target datalayout = "e-m:e-p:32:32-i64:64-n32:64-S128" -target triple = "wasm32-unknown-unknown-wasm" +target triple = "wasm32-unknown-unknown" ; CHECK-LABEL: i32_extend8_s: ; CHECK-NEXT: .param i32{{$}} diff --git a/llvm/test/CodeGen/WebAssembly/signext-zeroext.ll b/llvm/test/CodeGen/WebAssembly/signext-zeroext.ll index b07c7f6..4d0bbb5 100644 --- a/llvm/test/CodeGen/WebAssembly/signext-zeroext.ll +++ b/llvm/test/CodeGen/WebAssembly/signext-zeroext.ll @@ -3,7 +3,7 @@ ; Test zeroext and signext ABI keywords target datalayout = "e-m:e-p:32:32-i64:64-n32:64-S128" -target triple = "wasm32-unknown-unknown-wasm" +target triple = "wasm32-unknown-unknown" ; CHECK-LABEL: z2s_func: ; CHECK-NEXT: .param i32{{$}} diff --git a/llvm/test/CodeGen/WebAssembly/simd-arith.ll b/llvm/test/CodeGen/WebAssembly/simd-arith.ll index 62c659b..8e2b4bc 100644 --- a/llvm/test/CodeGen/WebAssembly/simd-arith.ll +++ b/llvm/test/CodeGen/WebAssembly/simd-arith.ll @@ -6,7 +6,7 @@ ; Test that basic SIMD128 arithmetic operations assemble as expected. target datalayout = "e-m:e-p:32:32-i64:64-n32:64-S128" -target triple = "wasm32-unknown-unknown-wasm" +target triple = "wasm32-unknown-unknown" declare i32 @llvm.ctlz.i32(i32, i1) declare i32 @llvm.cttz.i32(i32, i1) diff --git a/llvm/test/CodeGen/WebAssembly/stack-alignment.ll b/llvm/test/CodeGen/WebAssembly/stack-alignment.ll index 25e9d06..6f19390 100644 --- a/llvm/test/CodeGen/WebAssembly/stack-alignment.ll +++ b/llvm/test/CodeGen/WebAssembly/stack-alignment.ll @@ -1,7 +1,7 @@ ; RUN: llc < %s -asm-verbose=false -disable-wasm-fallthrough-return-opt | FileCheck %s target datalayout = "e-m:e-p:32:32-i64:64-n32:64-S128" -target triple = "wasm32-unknown-unknown-wasm" +target triple = "wasm32-unknown-unknown" declare void @somefunc(i32*) diff --git a/llvm/test/CodeGen/WebAssembly/store-trunc.ll b/llvm/test/CodeGen/WebAssembly/store-trunc.ll index ff35822..4d35f47 100644 --- a/llvm/test/CodeGen/WebAssembly/store-trunc.ll +++ b/llvm/test/CodeGen/WebAssembly/store-trunc.ll @@ -3,7 +3,7 @@ ; Test that truncating stores are assembled properly. target datalayout = "e-m:e-p:32:32-i64:64-n32:64-S128" -target triple = "wasm32-unknown-unknown-wasm" +target triple = "wasm32-unknown-unknown" ; CHECK-LABEL: trunc_i8_i32: ; CHECK: i32.store8 0($0), $1{{$}} diff --git a/llvm/test/CodeGen/WebAssembly/store.ll b/llvm/test/CodeGen/WebAssembly/store.ll index 153d7d9..87317ee 100644 --- a/llvm/test/CodeGen/WebAssembly/store.ll +++ b/llvm/test/CodeGen/WebAssembly/store.ll @@ -4,7 +4,7 @@ ; Test that basic stores are assembled properly. target datalayout = "e-m:e-p:32:32-i64:64-n32:64-S128" -target triple = "wasm32-unknown-unknown-wasm" +target triple = "wasm32-unknown-unknown" ; CHECK-LABEL: sti32: ; CHECK-NEXT: .param i32, i32{{$}} diff --git a/llvm/test/CodeGen/WebAssembly/switch.ll b/llvm/test/CodeGen/WebAssembly/switch.ll index 18eac55..c6354ba 100644 --- a/llvm/test/CodeGen/WebAssembly/switch.ll +++ b/llvm/test/CodeGen/WebAssembly/switch.ll @@ -4,7 +4,7 @@ ; the blocks in a way that isn't interesting here. target datalayout = "e-m:e-p:32:32-i64:64-n32:64-S128" -target triple = "wasm32-unknown-unknown-wasm" +target triple = "wasm32-unknown-unknown" declare void @foo0() declare void @foo1() diff --git a/llvm/test/CodeGen/WebAssembly/tls.ll b/llvm/test/CodeGen/WebAssembly/tls.ll index 1c02f49..d4447fe 100644 --- a/llvm/test/CodeGen/WebAssembly/tls.ll +++ b/llvm/test/CodeGen/WebAssembly/tls.ll @@ -1,6 +1,6 @@ ; RUN: llc < %s -asm-verbose=false -disable-wasm-fallthrough-return-opt -disable-wasm-explicit-locals -thread-model=single | FileCheck --check-prefix=SINGLE %s target datalayout = "e-m:e-p:32:32-i64:64-n32:64-S128" -target triple = "wasm32-unknown-unknown-wasm" +target triple = "wasm32-unknown-unknown" ; SINGLE-LABEL: address_of_tls: define i32 @address_of_tls() { diff --git a/llvm/test/CodeGen/WebAssembly/umulo-i64.ll b/llvm/test/CodeGen/WebAssembly/umulo-i64.ll index 6ad3bc3..90eafa7 100644 --- a/llvm/test/CodeGen/WebAssembly/umulo-i64.ll +++ b/llvm/test/CodeGen/WebAssembly/umulo-i64.ll @@ -1,7 +1,7 @@ ; RUN: llc < %s -asm-verbose=false -disable-wasm-explicit-locals | FileCheck %s ; Test that UMULO works correctly on 64-bit operands. target datalayout = "e-m:e-p:32:32-i64:64-n32:64-S128" -target triple = "wasm32-unknown-unknown-wasm" +target triple = "wasm32-unknown-unknown" ; CHECK-LABEL: _ZN4core3num21_$LT$impl$u20$u64$GT$15overflowing_mul17h07be88b4cbac028fE: ; CHECK: __multi3 diff --git a/llvm/test/CodeGen/WebAssembly/unreachable.ll b/llvm/test/CodeGen/WebAssembly/unreachable.ll index de96b09..77fda44 100644 --- a/llvm/test/CodeGen/WebAssembly/unreachable.ll +++ b/llvm/test/CodeGen/WebAssembly/unreachable.ll @@ -5,7 +5,7 @@ ; wasm unreachable target datalayout = "e-m:e-p:32:32-i64:64-n32:64-S128" -target triple = "wasm32-unknown-unknown-wasm" +target triple = "wasm32-unknown-unknown" declare void @llvm.trap() declare void @llvm.debugtrap() diff --git a/llvm/test/CodeGen/WebAssembly/unsupported-function-bitcasts.ll b/llvm/test/CodeGen/WebAssembly/unsupported-function-bitcasts.ll index c3d420a..89ef730 100644 --- a/llvm/test/CodeGen/WebAssembly/unsupported-function-bitcasts.ll +++ b/llvm/test/CodeGen/WebAssembly/unsupported-function-bitcasts.ll @@ -5,7 +5,7 @@ ; conversions are implemented. target datalayout = "e-m:e-p:32:32-i64:64-n32:64-S128" -target triple = "wasm32-unknown-unknown-wasm" +target triple = "wasm32-unknown-unknown" ; CHECK-LABEL: test: ; CHECK-NEXT: i32.const $push[[L0:[0-9]+]]=, 0{{$}} diff --git a/llvm/test/CodeGen/WebAssembly/unused-argument.ll b/llvm/test/CodeGen/WebAssembly/unused-argument.ll index a70fc4bd..f137e28 100644 --- a/llvm/test/CodeGen/WebAssembly/unused-argument.ll +++ b/llvm/test/CodeGen/WebAssembly/unused-argument.ll @@ -3,7 +3,7 @@ ; Make sure that argument offsets are correct even if some arguments are unused. target datalayout = "e-m:e-p:32:32-i64:64-n32:64-S128" -target triple = "wasm32-unknown-unknown-wasm" +target triple = "wasm32-unknown-unknown" ; CHECK-LABEL: unused_first: ; CHECK-NEXT: .param i32, i32{{$}} diff --git a/llvm/test/CodeGen/WebAssembly/userstack.ll b/llvm/test/CodeGen/WebAssembly/userstack.ll index 2580771..520ae72 100644 --- a/llvm/test/CodeGen/WebAssembly/userstack.ll +++ b/llvm/test/CodeGen/WebAssembly/userstack.ll @@ -1,7 +1,7 @@ ; RUN: llc < %s -asm-verbose=false -disable-wasm-fallthrough-return-opt | FileCheck %s target datalayout = "e-m:e-p:32:32-i64:64-n32:64-S128" -target triple = "wasm32-unknown-unknown-wasm" +target triple = "wasm32-unknown-unknown" declare void @ext_func(i64* %ptr) declare void @ext_func_i32(i32* %ptr) diff --git a/llvm/test/CodeGen/WebAssembly/varargs.ll b/llvm/test/CodeGen/WebAssembly/varargs.ll index 3f04700..acd35c3 100644 --- a/llvm/test/CodeGen/WebAssembly/varargs.ll +++ b/llvm/test/CodeGen/WebAssembly/varargs.ll @@ -3,7 +3,7 @@ ; Test varargs constructs. target datalayout = "e-m:e-p:32:32-i64:64-n32:64-S128" -target triple = "wasm32-unknown-unknown-wasm" +target triple = "wasm32-unknown-unknown" ; Test va_start. diff --git a/llvm/test/CodeGen/WebAssembly/vtable.ll b/llvm/test/CodeGen/WebAssembly/vtable.ll index b39e7bc..8f0e107 100644 --- a/llvm/test/CodeGen/WebAssembly/vtable.ll +++ b/llvm/test/CodeGen/WebAssembly/vtable.ll @@ -12,7 +12,7 @@ ; Each with a virtual dtor and method foo. target datalayout = "e-m:e-p:32:32-i64:64-n32:64-S128" -target triple = "wasm32-unknown-unknown-wasm" +target triple = "wasm32-unknown-unknown" %struct.A = type { i32 (...)** } %struct.B = type { %struct.A } diff --git a/llvm/test/DebugInfo/WebAssembly/dbg-declare.ll b/llvm/test/DebugInfo/WebAssembly/dbg-declare.ll index a1d006b..d633709 100644 --- a/llvm/test/DebugInfo/WebAssembly/dbg-declare.ll +++ b/llvm/test/DebugInfo/WebAssembly/dbg-declare.ll @@ -1,5 +1,5 @@ -; RUN: llc < %s -verify-machineinstrs -mtriple=wasm32-unknown-unknown-wasm | FileCheck %s -; RUN: llc < %s -verify-machineinstrs -mtriple=wasm32-unknown-unknown-wasm -fast-isel | FileCheck --check-prefix=CHECK-FAST %s +; RUN: llc < %s -verify-machineinstrs -mtriple=wasm32-unknown-unknown | FileCheck %s +; RUN: llc < %s -verify-machineinstrs -mtriple=wasm32-unknown-unknown -fast-isel | FileCheck --check-prefix=CHECK-FAST %s ; CHECK: DW_TAG_variable ; CHECK-FAST: DW_TAG_variable @@ -8,7 +8,7 @@ source_filename = "test/DebugInfo/WebAssembly/dbg-declare.ll" target datalayout = "e-m:e-p:32:32-i64:64-n32:64-S128" -target triple = "wasm32-unknown-unknown-wasm" +target triple = "wasm32-unknown-unknown" @key = external global [15 x i8], align 1 diff --git a/llvm/test/DebugInfo/WebAssembly/dbg-loop-loc.ll b/llvm/test/DebugInfo/WebAssembly/dbg-loop-loc.ll index 0a1ece0..e81ee2c 100644 --- a/llvm/test/DebugInfo/WebAssembly/dbg-loop-loc.ll +++ b/llvm/test/DebugInfo/WebAssembly/dbg-loop-loc.ll @@ -15,7 +15,7 @@ ; ModuleID = 'dbg-loop-loc.bc' source_filename = "dbg-loop-loc.c" target datalayout = "e-m:e-p:32:32-i64:64-n32:64-S128" -target triple = "wasm32-unknown-unknown-wasm" +target triple = "wasm32-unknown-unknown" ; CHECK: .file 1 ; CHECK: .loc 1 1 0 diff --git a/llvm/test/MC/WebAssembly/array-fill.ll b/llvm/test/MC/WebAssembly/array-fill.ll index 4430327..7af4e74 100644 --- a/llvm/test/MC/WebAssembly/array-fill.ll +++ b/llvm/test/MC/WebAssembly/array-fill.ll @@ -3,7 +3,7 @@ source_filename = "ws.c" target datalayout = "e-m:e-p:32:32-i64:64-n32:64-S128" -target triple = "wasm32-unknown-unknown-wasm" +target triple = "wasm32-unknown-unknown" %struct.bd = type { i8 } diff --git a/llvm/test/MC/WebAssembly/basic-assembly.s b/llvm/test/MC/WebAssembly/basic-assembly.s index a6b4d0b..5fa6b4c 100644 --- a/llvm/test/MC/WebAssembly/basic-assembly.s +++ b/llvm/test/MC/WebAssembly/basic-assembly.s @@ -1,5 +1,5 @@ # RUN: llvm-mc -triple=wasm32-unknown-unknown-elf < %s | FileCheck %s -# RUN: llvm-mc -triple=wasm32-unknown-unknown-wasm < %s | FileCheck %s +# RUN: llvm-mc -triple=wasm32-unknown-unknown < %s | FileCheck %s .text .type test0,@function diff --git a/llvm/test/MC/WebAssembly/blockaddress.ll b/llvm/test/MC/WebAssembly/blockaddress.ll index 51919c2..52127ab 100644 --- a/llvm/test/MC/WebAssembly/blockaddress.ll +++ b/llvm/test/MC/WebAssembly/blockaddress.ll @@ -2,7 +2,7 @@ ; in wasm relocations. ; RUN: not llc -filetype=obj %s -o /dev/null 2>&1 | FileCheck %s -target triple = "wasm32-unknown-unknown-wasm" +target triple = "wasm32-unknown-unknown" @foo = internal global i8* blockaddress(@bar, %addr), align 4 diff --git a/llvm/test/MC/WebAssembly/bss.ll b/llvm/test/MC/WebAssembly/bss.ll index 9ffeacc..2c0cdf2 100644 --- a/llvm/test/MC/WebAssembly/bss.ll +++ b/llvm/test/MC/WebAssembly/bss.ll @@ -1,6 +1,6 @@ ; RUN: llc -filetype=obj %s -o - | obj2yaml | FileCheck %s -target triple = "wasm32-unknown-unknown-wasm" +target triple = "wasm32-unknown-unknown" @g0 = global i8* null, align 4 @g1 = global i32 0, align 4 diff --git a/llvm/test/MC/WebAssembly/comdat.ll b/llvm/test/MC/WebAssembly/comdat.ll index 03c5d75..7bba78b 100644 --- a/llvm/test/MC/WebAssembly/comdat.ll +++ b/llvm/test/MC/WebAssembly/comdat.ll @@ -1,6 +1,6 @@ ; RUN: llc -filetype=obj %s -o - | obj2yaml | FileCheck %s -target triple = "wasm32-unknown-unknown-wasm" +target triple = "wasm32-unknown-unknown" ; Import a function just so we can check the index arithmetic for ; WASM_COMDAT_FUNCTION entries is performed correctly diff --git a/llvm/test/MC/WebAssembly/custom-code-section.ll b/llvm/test/MC/WebAssembly/custom-code-section.ll index 7d0a5be..16436b0 100644 --- a/llvm/test/MC/WebAssembly/custom-code-section.ll +++ b/llvm/test/MC/WebAssembly/custom-code-section.ll @@ -1,6 +1,6 @@ ; RUN: llc -O2 -filetype=obj %s -o %t.o -target triple = "wasm32-unknown-unknown-wasm" +target triple = "wasm32-unknown-unknown" ; Wasm silently ignores custom sections for code. ; We had a bug where this cause a crash diff --git a/llvm/test/MC/WebAssembly/custom-sections.ll b/llvm/test/MC/WebAssembly/custom-sections.ll index f479e3d..8ee04e0 100644 --- a/llvm/test/MC/WebAssembly/custom-sections.ll +++ b/llvm/test/MC/WebAssembly/custom-sections.ll @@ -2,7 +2,7 @@ ; Test the mechanism for defining user custom sections. -target triple = "wasm32-unknown-unknown-wasm" +target triple = "wasm32-unknown-unknown" !0 = !{ !"red", !"foo" } !1 = !{ !"green", !"bar" } diff --git a/llvm/test/MC/WebAssembly/debug-info.ll b/llvm/test/MC/WebAssembly/debug-info.ll index 1b87f25..95cb5d6 100644 --- a/llvm/test/MC/WebAssembly/debug-info.ll +++ b/llvm/test/MC/WebAssembly/debug-info.ll @@ -204,7 +204,7 @@ ; CHECK-NEXT: } ; CHECK-NEXT:] -target triple = "wasm32-unknown-unknown-wasm" +target triple = "wasm32-unknown-unknown" source_filename = "test.c" diff --git a/llvm/test/MC/WebAssembly/dwarfdump.ll b/llvm/test/MC/WebAssembly/dwarfdump.ll index 3a73de4..3a761f6 100644 --- a/llvm/test/MC/WebAssembly/dwarfdump.ll +++ b/llvm/test/MC/WebAssembly/dwarfdump.ll @@ -54,7 +54,7 @@ ; CHECK: 0x00000069: NULL -target triple = "wasm32-unknown-unknown-wasm" +target triple = "wasm32-unknown-unknown" source_filename = "test.c" diff --git a/llvm/test/MC/WebAssembly/explicit-sections.ll b/llvm/test/MC/WebAssembly/explicit-sections.ll index 067f3b3..e069cee 100644 --- a/llvm/test/MC/WebAssembly/explicit-sections.ll +++ b/llvm/test/MC/WebAssembly/explicit-sections.ll @@ -1,6 +1,6 @@ ; RUN: llc -filetype=obj %s -o - | obj2yaml | FileCheck %s -target triple = "wasm32-unknown-unknown-wasm" +target triple = "wasm32-unknown-unknown" %struct.bd = type { i32, i8 } diff --git a/llvm/test/MC/WebAssembly/external-data.ll b/llvm/test/MC/WebAssembly/external-data.ll index 35004a5..5c92475 100644 --- a/llvm/test/MC/WebAssembly/external-data.ll +++ b/llvm/test/MC/WebAssembly/external-data.ll @@ -1,6 +1,6 @@ ; RUN: llc -filetype=obj %s -o - | obj2yaml | FileCheck %s -target triple = "wasm32-unknown-unknown-wasm" +target triple = "wasm32-unknown-unknown" ; Verify relocations are correctly generated for addresses of externals ; in the data section. diff --git a/llvm/test/MC/WebAssembly/external-func-address.ll b/llvm/test/MC/WebAssembly/external-func-address.ll index 14b43a1..4e39feb 100644 --- a/llvm/test/MC/WebAssembly/external-func-address.ll +++ b/llvm/test/MC/WebAssembly/external-func-address.ll @@ -1,6 +1,6 @@ ; RUN: llc -filetype=obj %s -o - | obj2yaml | FileCheck %s -target triple = "wasm32-unknown-unknown-wasm" +target triple = "wasm32-unknown-unknown" ; Verify that addresses of external functions generate correctly typed ; imports and relocations or type R_TABLE_INDEX_I32. diff --git a/llvm/test/MC/WebAssembly/file-headers.ll b/llvm/test/MC/WebAssembly/file-headers.ll index 1e5dd4b..ae6bc88 100644 --- a/llvm/test/MC/WebAssembly/file-headers.ll +++ b/llvm/test/MC/WebAssembly/file-headers.ll @@ -1,7 +1,7 @@ ; RUN: llc -filetype=obj %s -o - | llvm-readobj -file-headers | FileCheck %s target datalayout = "e-m:e-p:32:32-i64:64-n32:64-S128" -target triple = "wasm32-unknown-unknown-wasm" +target triple = "wasm32-unknown-unknown" ; CHECK: Format: WASM{{$}} ; CHECK: Arch: wasm32{{$}} diff --git a/llvm/test/MC/WebAssembly/func-address.ll b/llvm/test/MC/WebAssembly/func-address.ll index f29355fd..f9128e6 100644 --- a/llvm/test/MC/WebAssembly/func-address.ll +++ b/llvm/test/MC/WebAssembly/func-address.ll @@ -1,6 +1,6 @@ ; RUN: llc -O2 -filetype=obj %s -o - | llvm-readobj -r -s -expand-relocs | FileCheck %s -target triple = "wasm32-unknown-unknown-wasm" +target triple = "wasm32-unknown-unknown" declare i32 @import1() declare i32 @import2() diff --git a/llvm/test/MC/WebAssembly/global-ctor-dtor.ll b/llvm/test/MC/WebAssembly/global-ctor-dtor.ll index 1f1358f..7464d66 100644 --- a/llvm/test/MC/WebAssembly/global-ctor-dtor.ll +++ b/llvm/test/MC/WebAssembly/global-ctor-dtor.ll @@ -1,6 +1,6 @@ ; RUN: llc -filetype=obj %s -o - | obj2yaml | FileCheck %s -target triple = "wasm32-unknown-unknown-wasm" +target triple = "wasm32-unknown-unknown" @global1 = global i32 1025, align 8 diff --git a/llvm/test/MC/WebAssembly/libcall.ll b/llvm/test/MC/WebAssembly/libcall.ll index d337cbb..b225358 100644 --- a/llvm/test/MC/WebAssembly/libcall.ll +++ b/llvm/test/MC/WebAssembly/libcall.ll @@ -1,6 +1,6 @@ ; RUN: llc -filetype=obj %s -o - | obj2yaml | FileCheck %s -target triple = "wasm32-unknown-unknown-wasm" +target triple = "wasm32-unknown-unknown" define hidden void @call_memcpy(i8* align 4 %a, i8* align 4 %b) { entry: diff --git a/llvm/test/MC/WebAssembly/offset.ll b/llvm/test/MC/WebAssembly/offset.ll index 79d2f74..0a74115 100644 --- a/llvm/test/MC/WebAssembly/offset.ll +++ b/llvm/test/MC/WebAssembly/offset.ll @@ -1,6 +1,6 @@ ; RUN: llc -filetype=obj %s -o - | obj2yaml | FileCheck %s -target triple = "wasm32-unknown-unknown-wasm" +target triple = "wasm32-unknown-unknown" ; CHECK: - Type: CODE ; CHECK-NEXT: Functions: diff --git a/llvm/test/MC/WebAssembly/reloc-code.ll b/llvm/test/MC/WebAssembly/reloc-code.ll index 4e1cd93..875477c 100644 --- a/llvm/test/MC/WebAssembly/reloc-code.ll +++ b/llvm/test/MC/WebAssembly/reloc-code.ll @@ -1,6 +1,6 @@ ; RUN: llc -filetype=obj %s -o - | llvm-readobj -r -expand-relocs | FileCheck %s -target triple = "wasm32-unknown-unknown-wasm" +target triple = "wasm32-unknown-unknown" ; Pointers to functions of two different types @a = global i64 ()* inttoptr (i64 5 to i64 ()*), align 8 diff --git a/llvm/test/MC/WebAssembly/reloc-data.ll b/llvm/test/MC/WebAssembly/reloc-data.ll index ebc6335..5c0a3c9 100644 --- a/llvm/test/MC/WebAssembly/reloc-data.ll +++ b/llvm/test/MC/WebAssembly/reloc-data.ll @@ -1,6 +1,6 @@ ; RUN: llc -O0 -filetype=obj %s -o - | llvm-readobj -r -expand-relocs | FileCheck %s -target triple = "wasm32-unknown-unknown-wasm" +target triple = "wasm32-unknown-unknown" ; foo and bar are external and internal symbols. a and b are pointers ; initialized to these locations offset by 2 and -2 elements respecitively. diff --git a/llvm/test/MC/WebAssembly/sections.ll b/llvm/test/MC/WebAssembly/sections.ll index a4ccec29..9dc7dbe 100644 --- a/llvm/test/MC/WebAssembly/sections.ll +++ b/llvm/test/MC/WebAssembly/sections.ll @@ -1,6 +1,6 @@ ; RUN: llc -filetype=obj %s -o - | llvm-readobj -s | FileCheck %s -target triple = "wasm32-unknown-unknown-wasm" +target triple = "wasm32-unknown-unknown" ; external function declare i32 @a() diff --git a/llvm/test/MC/WebAssembly/stack-ptr.ll b/llvm/test/MC/WebAssembly/stack-ptr.ll index 1592e8f..9770003 100644 --- a/llvm/test/MC/WebAssembly/stack-ptr.ll +++ b/llvm/test/MC/WebAssembly/stack-ptr.ll @@ -1,6 +1,6 @@ ; RUN: llc -filetype=obj %s -o - | obj2yaml | FileCheck %s -target triple = "wasm32-unknown-unknown-wasm" +target triple = "wasm32-unknown-unknown" ; Function that uses explict stack, and should generate a reference to ; __stack_pointer, along with the corresponding reloction entry. diff --git a/llvm/test/MC/WebAssembly/unnamed-data.ll b/llvm/test/MC/WebAssembly/unnamed-data.ll index ee5abed..4794902 100644 --- a/llvm/test/MC/WebAssembly/unnamed-data.ll +++ b/llvm/test/MC/WebAssembly/unnamed-data.ll @@ -1,6 +1,6 @@ ; RUN: llc -filetype=obj %s -o - | obj2yaml | FileCheck %s -target triple = "wasm32-unknown-unknown-wasm" +target triple = "wasm32-unknown-unknown" @.str1 = private unnamed_addr constant [6 x i8] c"hello\00", align 1 @.str2 = private unnamed_addr constant [6 x i8] c"world\00", align 1 diff --git a/llvm/test/MC/WebAssembly/visibility.ll b/llvm/test/MC/WebAssembly/visibility.ll index 49a922d..5bb757b 100644 --- a/llvm/test/MC/WebAssembly/visibility.ll +++ b/llvm/test/MC/WebAssembly/visibility.ll @@ -1,6 +1,6 @@ ; RUN: llc -filetype=obj %s -o - | obj2yaml | FileCheck %s -target triple = "wasm32-unknown-unknown-wasm" +target triple = "wasm32-unknown-unknown" ; Function with __attribute__((visibility("default"))) define void @defaultVis() #0 { diff --git a/llvm/test/MC/WebAssembly/weak-alias.ll b/llvm/test/MC/WebAssembly/weak-alias.ll index fee055f..c87700b 100644 --- a/llvm/test/MC/WebAssembly/weak-alias.ll +++ b/llvm/test/MC/WebAssembly/weak-alias.ll @@ -2,7 +2,7 @@ ; RUN: obj2yaml %t.o | FileCheck %s ; RUN: llvm-objdump -t %t.o | FileCheck --check-prefix=CHECK-SYMS %s -target triple = "wasm32-unknown-unknown-wasm" +target triple = "wasm32-unknown-unknown" ; 'foo_alias()' is weak alias of function 'foo()' ; 'bar_alias' is weak alias of global variable 'bar' diff --git a/llvm/test/MC/WebAssembly/weak.ll b/llvm/test/MC/WebAssembly/weak.ll index 1ba48fa..3862d37 100644 --- a/llvm/test/MC/WebAssembly/weak.ll +++ b/llvm/test/MC/WebAssembly/weak.ll @@ -1,6 +1,6 @@ ; RUN: llc -filetype=obj %s -o - | obj2yaml | FileCheck %s -target triple = "wasm32-unknown-unknown-wasm" +target triple = "wasm32-unknown-unknown" ; Weak external data reference @weak_external_data = extern_weak global i32, align 4 diff --git a/llvm/test/Object/Inputs/trivial.ll b/llvm/test/Object/Inputs/trivial.ll index 528a713..82eabc6 100644 --- a/llvm/test/Object/Inputs/trivial.ll +++ b/llvm/test/Object/Inputs/trivial.ll @@ -1,5 +1,5 @@ ; Input used for generating checked-in binaries (trivial-object-test.*) -; llc -mtriple=wasm32-unknown-unknown-wasm trivial.ll -filetype=obj -o trivial-object-test.wasm +; llc -mtriple=wasm32-unknown-unknown trivial.ll -filetype=obj -o trivial-object-test.wasm @.str = private unnamed_addr constant [13 x i8] c"Hello World\0A\00", align 1 diff --git a/llvm/test/tools/llvm-nm/wasm/local-symbols.ll b/llvm/test/tools/llvm-nm/wasm/local-symbols.ll index 6360b76..f7c0e83 100644 --- a/llvm/test/tools/llvm-nm/wasm/local-symbols.ll +++ b/llvm/test/tools/llvm-nm/wasm/local-symbols.ll @@ -1,4 +1,4 @@ -; RUN: llc -filetype=obj -mtriple=wasm32-unknown-unknown-wasm -o %t.o %s +; RUN: llc -filetype=obj -mtriple=wasm32-unknown-unknown -o %t.o %s ; RUN: llvm-nm %t.o | FileCheck %s @foo = internal global i32 1, align 4 diff --git a/llvm/test/tools/llvm-objdump/Inputs/trivial.ll b/llvm/test/tools/llvm-objdump/Inputs/trivial.ll index 6dd510a..f11284a 100644 --- a/llvm/test/tools/llvm-objdump/Inputs/trivial.ll +++ b/llvm/test/tools/llvm-objdump/Inputs/trivial.ll @@ -1,5 +1,5 @@ ; Input used for generating checked-in binaries (trivial.obj.*) -; llc -mtriple=wasm32-unknown-unknown-wasm trivial.ll -filetype=obj -o trivial.obj.wasm +; llc -mtriple=wasm32-unknown-unknown trivial.ll -filetype=obj -o trivial.obj.wasm @.str = private unnamed_addr constant [13 x i8] c"Hello World\0A\00", align 1 diff --git a/llvm/test/tools/llvm-objdump/WebAssembly/relocations.test b/llvm/test/tools/llvm-objdump/WebAssembly/relocations.test index 9a8c7b7..1384dd6 100644 --- a/llvm/test/tools/llvm-objdump/WebAssembly/relocations.test +++ b/llvm/test/tools/llvm-objdump/WebAssembly/relocations.test @@ -1,4 +1,4 @@ -; RUN: llc -mtriple=wasm32-unknown-unknown-wasm -filetype=obj %s -o - | llvm-objdump -r - | FileCheck %s +; RUN: llc -mtriple=wasm32-unknown-unknown -filetype=obj %s -o - | llvm-objdump -r - | FileCheck %s @foo = external global i32, align 4 @bar = global i32* @foo, align 4 diff --git a/llvm/test/tools/llvm-readobj/Inputs/trivial.ll b/llvm/test/tools/llvm-readobj/Inputs/trivial.ll index e0e519d..c27d0cb 100644 --- a/llvm/test/tools/llvm-readobj/Inputs/trivial.ll +++ b/llvm/test/tools/llvm-readobj/Inputs/trivial.ll @@ -5,7 +5,7 @@ ; llc -mtriple=x86_64-linux-gnu trivial.ll -filetype=obj -o trivial.obj.elf-x86-64 -relocation-model=pic ; llc -mtriple=i386-apple-darwin10 trivial.ll -filetype=obj -o trivial.obj.macho-i386 -relocation-model=pic ; llc -mtriple=x86_64-apple-darwin10 trivial.ll -filetype=obj -o trivial.obj.macho-x86-64 -relocation-model=pic -; llc -mtriple=wasm32-unknown-unknown-wasm trivial.ll -filetype=obj -o trivial.obj.wasm +; llc -mtriple=wasm32-unknown-unknown trivial.ll -filetype=obj -o trivial.obj.wasm @.str = private unnamed_addr constant [13 x i8] c"Hello World\0A\00", align 1 -- 2.7.4