sunfishcode wrote:
Makes sense. My instinct here is to wait until we have a concrete use case.
https://github.com/llvm/llvm-project/pull/119997
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-
sunfishcode wrote:
Is there a use case that needs to disable the red zone globally on Wasm? My
understanding is that -mno-red-zone exists for compatibility reasons that don't
apply to Wasm. I'm hesitant to add flags adding implicit ABI variants in the
absence of use cases. At least with the fu
https://github.com/sunfishcode closed
https://github.com/llvm/llvm-project/pull/119204
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/sunfishcode updated
https://github.com/llvm/llvm-project/pull/119204
>From dd2939affd576539d83dfa877ea30192b41353b0 Mon Sep 17 00:00:00 2001
From: Dan Gohman
Date: Mon, 9 Dec 2024 04:30:33 -0800
Subject: [PATCH 1/2] [WebAssembly] Add `-i128:128` to the `datalayout` string.
C
@@ -183,11 +183,12 @@ class LLVM_LIBRARY_VISIBILITY WebAssembly32TargetInfo
const TargetOptions &Opts)
: WebAssemblyTargetInfo(T, Opts) {
if (T.isOSEmscripten())
- resetDataLayout("e-m:e-p:32:32-p10:8:8-p20:8:8-i64:64-f128:64-n3
sunfishcode wrote:
Rebased on top of #119288; the test diffs are much smaller now :-).
https://github.com/llvm/llvm-project/pull/119204
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/sunfishcode updated
https://github.com/llvm/llvm-project/pull/119204
>From dd2939affd576539d83dfa877ea30192b41353b0 Mon Sep 17 00:00:00 2001
From: Dan Gohman
Date: Mon, 9 Dec 2024 04:30:33 -0800
Subject: [PATCH] [WebAssembly] Add `-i128:128` to the `datalayout` string.
Clang
https://github.com/sunfishcode approved this pull request.
Thanks!
https://github.com/llvm/llvm-project/pull/119262
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/sunfishcode closed
https://github.com/llvm/llvm-project/pull/119262
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -524,9 +524,7 @@ define i64 @utest_f64i64(double %x) {
; CHECK-NEXT:local.get 0
; CHECK-NEXT:call __fixunsdfti
; CHECK-NEXT:local.get 1
-; CHECK-NEXT:i32.const 8
-; CHECK-NEXT:i32.add
-; CHECK-NEXT:i64.load 0
+; CHECK-NEXT:i64.load 8
-
https://github.com/sunfishcode edited
https://github.com/llvm/llvm-project/pull/119204
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/sunfishcode created
https://github.com/llvm/llvm-project/pull/119204
Clang [defaults to aligning `__int128_t` to 16 bytes], while LLVM `datalayout`
strings [default to aligning `i128` to 8 bytes]. Wasm is currently using the
defaults for both, so it's inconsistent. Fix this
https://github.com/sunfishcode closed
https://github.com/llvm/llvm-project/pull/112035
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/sunfishcode updated
https://github.com/llvm/llvm-project/pull/112035
>From a42effda1d0e8c8fc1e59ea060018225fe9ba914 Mon Sep 17 00:00:00 2001
From: Dan Gohman
Date: Fri, 11 Oct 2024 04:30:32 -0700
Subject: [PATCH 1/4] [WebAssembly] Support the new "Lime1" CPU
This adds WebAss
https://github.com/sunfishcode updated
https://github.com/llvm/llvm-project/pull/112035
>From a42effda1d0e8c8fc1e59ea060018225fe9ba914 Mon Sep 17 00:00:00 2001
From: Dan Gohman
Date: Fri, 11 Oct 2024 04:30:32 -0700
Subject: [PATCH 1/3] [WebAssembly] Support the new "Lime1" CPU
This adds WebAss
https://github.com/sunfishcode updated
https://github.com/llvm/llvm-project/pull/112035
>From a42effda1d0e8c8fc1e59ea060018225fe9ba914 Mon Sep 17 00:00:00 2001
From: Dan Gohman
Date: Fri, 11 Oct 2024 04:30:32 -0700
Subject: [PATCH 1/2] [WebAssembly] Support the new "Lime1" CPU
This adds WebAss
sunfishcode wrote:
That feels to me like something best documented in the definition of Lime
itself, rather than in LLVM. I've now opened
https://github.com/WebAssembly/tool-conventions/pull/241 to document the
inspiration for the name.
https://github.com/llvm/llvm-project/pull/112035
___
https://github.com/sunfishcode updated
https://github.com/llvm/llvm-project/pull/112035
>From a42effda1d0e8c8fc1e59ea060018225fe9ba914 Mon Sep 17 00:00:00 2001
From: Dan Gohman
Date: Fri, 11 Oct 2024 04:30:32 -0700
Subject: [PATCH] [WebAssembly] Support the new "Lime1" CPU
This adds WebAssembl
https://github.com/sunfishcode closed
https://github.com/llvm/llvm-project/pull/117087
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -1,7 +1,7 @@
-; RUN: llc < %s -asm-verbose=false -verify-machineinstrs
-disable-wasm-fallthrough-return-opt -wasm-disable-explicit-locals
-wasm-keep-registers -mcpu=mvp -mattr=+bulk-memory | FileCheck %s
--check-prefixes CHECK,BULK-MEM
-; RUN: llc < %s -asm-verbose=false -ve
https://github.com/sunfishcode updated
https://github.com/llvm/llvm-project/pull/117087
>From 48808d43f41b61a419790fd25f99b5e897e5a419 Mon Sep 17 00:00:00 2001
From: Dan Gohman
Date: Fri, 11 Oct 2024 04:30:32 -0700
Subject: [PATCH 01/15] [WebAssembly] Define call-indirect-overlong and
bulk-mem
https://github.com/sunfishcode updated
https://github.com/llvm/llvm-project/pull/117087
>From 48808d43f41b61a419790fd25f99b5e897e5a419 Mon Sep 17 00:00:00 2001
From: Dan Gohman
Date: Fri, 11 Oct 2024 04:30:32 -0700
Subject: [PATCH 01/12] [WebAssembly] Define call-indirect-overlong and
bulk-mem
https://github.com/sunfishcode updated
https://github.com/llvm/llvm-project/pull/117087
>From 48808d43f41b61a419790fd25f99b5e897e5a419 Mon Sep 17 00:00:00 2001
From: Dan Gohman
Date: Fri, 11 Oct 2024 04:30:32 -0700
Subject: [PATCH 01/11] [WebAssembly] Define call-indirect-overlong and
bulk-mem
https://github.com/sunfishcode updated
https://github.com/llvm/llvm-project/pull/117087
>From 48808d43f41b61a419790fd25f99b5e897e5a419 Mon Sep 17 00:00:00 2001
From: Dan Gohman
Date: Fri, 11 Oct 2024 04:30:32 -0700
Subject: [PATCH 01/10] [WebAssembly] Define call-indirect-overlong and
bulk-mem
https://github.com/sunfishcode updated
https://github.com/llvm/llvm-project/pull/117087
>From 48808d43f41b61a419790fd25f99b5e897e5a419 Mon Sep 17 00:00:00 2001
From: Dan Gohman
Date: Fri, 11 Oct 2024 04:30:32 -0700
Subject: [PATCH 1/9] [WebAssembly] Define call-indirect-overlong and
bulk-memor
https://github.com/sunfishcode updated
https://github.com/llvm/llvm-project/pull/117087
>From 48808d43f41b61a419790fd25f99b5e897e5a419 Mon Sep 17 00:00:00 2001
From: Dan Gohman
Date: Fri, 11 Oct 2024 04:30:32 -0700
Subject: [PATCH 1/8] [WebAssembly] Define call-indirect-overlong and
bulk-memor
https://github.com/sunfishcode updated
https://github.com/llvm/llvm-project/pull/117087
>From 48808d43f41b61a419790fd25f99b5e897e5a419 Mon Sep 17 00:00:00 2001
From: Dan Gohman
Date: Fri, 11 Oct 2024 04:30:32 -0700
Subject: [PATCH 1/7] [WebAssembly] Define call-indirect-overlong and
bulk-memor
https://github.com/sunfishcode updated
https://github.com/llvm/llvm-project/pull/117087
>From 48808d43f41b61a419790fd25f99b5e897e5a419 Mon Sep 17 00:00:00 2001
From: Dan Gohman
Date: Fri, 11 Oct 2024 04:30:32 -0700
Subject: [PATCH 1/6] [WebAssembly] Define call-indirect-overlong and
bulk-memor
https://github.com/sunfishcode updated
https://github.com/llvm/llvm-project/pull/117087
>From 48808d43f41b61a419790fd25f99b5e897e5a419 Mon Sep 17 00:00:00 2001
From: Dan Gohman
Date: Fri, 11 Oct 2024 04:30:32 -0700
Subject: [PATCH 1/5] [WebAssembly] Define call-indirect-overlong and
bulk-memor
@@ -34,6 +34,15 @@
WebAssemblySubtarget::initializeSubtargetDependencies(StringRef CPU,
CPU = "generic";
ParseSubtargetFeatures(CPU, /*TuneCPU*/ CPU, FS);
+
+ // reference-types implies call-indirect-overlong
+ if (HasReferenceTypes)
+HasCallIndirectOverlong = tru
@@ -114,19 +122,20 @@ def : ProcessorModel<"mvp", NoSchedModel, []>;
// consideration given to available support in relevant engines and tools, and
// the importance of the features.
def : ProcessorModel<"generic", NoSchedModel,
- [FeatureBulkMemory, Featur
https://github.com/sunfishcode updated
https://github.com/llvm/llvm-project/pull/117087
>From 48808d43f41b61a419790fd25f99b5e897e5a419 Mon Sep 17 00:00:00 2001
From: Dan Gohman
Date: Fri, 11 Oct 2024 04:30:32 -0700
Subject: [PATCH 1/4] [WebAssembly] Define call-indirect-overlong and
bulk-memor
@@ -79,6 +81,8 @@ void WebAssemblyTargetInfo::getTargetDefines(const
LangOptions &Opts,
Builder.defineMacro("__wasm_atomics__");
if (HasBulkMemory)
Builder.defineMacro("__wasm_bulk_memory__");
+ if (HasBulkMemoryOpt)
+Builder.defineMacro("__wasm_bulk_memory_opt_
https://github.com/sunfishcode updated
https://github.com/llvm/llvm-project/pull/112035
>From 48808d43f41b61a419790fd25f99b5e897e5a419 Mon Sep 17 00:00:00 2001
From: Dan Gohman
Date: Fri, 11 Oct 2024 04:30:32 -0700
Subject: [PATCH 1/4] [WebAssembly] Define call-indirect-overlong and
bulk-memor
sunfishcode wrote:
> I do think its reasonable for all those decoders to support overlong LEBs.
> But I think I don't see the advantage that adding this new pseudo feature
> offers. Wouldn't it be simpler to simply not add it?
I see it more as exposing existing complexity, rather than creating
sunfishcode wrote:
> I see, so in practice the effect on LLVM is that you get a relocation at each
> call_indirect site but we don't need this relocation of the wide encoding for
> any particular reason.
LLVM is already emitting those relocations in the default "generic" CPU today.
If that's
https://github.com/sunfishcode updated
https://github.com/llvm/llvm-project/pull/117087
>From 48808d43f41b61a419790fd25f99b5e897e5a419 Mon Sep 17 00:00:00 2001
From: Dan Gohman
Date: Fri, 11 Oct 2024 04:30:32 -0700
Subject: [PATCH 1/3] [WebAssembly] Define call-indirect-overlong and
bulk-memor
https://github.com/sunfishcode edited
https://github.com/llvm/llvm-project/pull/112035
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/sunfishcode updated
https://github.com/llvm/llvm-project/pull/117087
>From 48808d43f41b61a419790fd25f99b5e897e5a419 Mon Sep 17 00:00:00 2001
From: Dan Gohman
Date: Fri, 11 Oct 2024 04:30:32 -0700
Subject: [PATCH 1/2] [WebAssembly] Define call-indirect-overlong and
bulk-memor
sunfishcode wrote:
The short answer is that's what the [Lime1 CPU calls
it](https://github.com/WebAssembly/tool-conventions/blob/main/Lime.md#lime1)
:smile: .
> Can you explain why you want call-indirect-overlong in lime1? Is it because
> you want to be able to link files compiles with multi-
https://github.com/sunfishcode edited
https://github.com/llvm/llvm-project/pull/112035
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -854,9 +854,15 @@ and `-mbulk-memory` flags, which correspond to the [Bulk
Memory Operations]
and [Non-trapping float-to-int Conversions] language features, which are
[widely implemented in engines].
+A new Lime1 target CPU is added, -mcpu=lime1. This CPU follows the defin
https://github.com/sunfishcode created
https://github.com/llvm/llvm-project/pull/117087
This defines some new target features. These are subsets of existing features
that reflect implementation concerns:
- "call-indirect-overlong" - implied by "reference-types"; just the overlong
encoding fo
https://github.com/sunfishcode ready_for_review
https://github.com/llvm/llvm-project/pull/112035
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/sunfishcode updated
https://github.com/llvm/llvm-project/pull/112035
>From 329d30a551639f6aeccdb805358c1b661d73d97c Mon Sep 17 00:00:00 2001
From: Dan Gohman
Date: Fri, 11 Oct 2024 04:30:32 -0700
Subject: [PATCH] [WebAssembly] Support the new "Lime1" CPU
This adds WebAssembl
https://github.com/sunfishcode updated
https://github.com/llvm/llvm-project/pull/112035
>From 22c34e6c92a6fe384e409a083584c00954521861 Mon Sep 17 00:00:00 2001
From: Dan Gohman
Date: Fri, 11 Oct 2024 04:30:32 -0700
Subject: [PATCH] [WebAssembly] Support the new "Lime1" CPU
This adds WebAssembl
https://github.com/sunfishcode updated
https://github.com/llvm/llvm-project/pull/112035
>From eba002d2b5670244d11d2c3c3d6a336e8a2a11b5 Mon Sep 17 00:00:00 2001
From: Dan Gohman
Date: Fri, 11 Oct 2024 04:30:32 -0700
Subject: [PATCH] [WebAssembly] Define a new "Lime1" CPU
First, define some new
https://github.com/sunfishcode edited
https://github.com/llvm/llvm-project/pull/112035
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/sunfishcode updated
https://github.com/llvm/llvm-project/pull/112035
>From f95503095c23eaa922a0febb799114156c74d006 Mon Sep 17 00:00:00 2001
From: Dan Gohman
Date: Fri, 11 Oct 2024 04:30:32 -0700
Subject: [PATCH 1/9] [WebAssembly] Define a new "Trail1" CPU
First, define some
https://github.com/sunfishcode updated
https://github.com/llvm/llvm-project/pull/112035
>From 0c5970fd26c5d36a1eec986396d2a7192d5feb29 Mon Sep 17 00:00:00 2001
From: Dan Gohman
Date: Fri, 11 Oct 2024 04:30:32 -0700
Subject: [PATCH 1/8] [WebAssembly] Define a new "Trail1" CPU
First, define some
https://github.com/sunfishcode closed
https://github.com/llvm/llvm-project/pull/112049
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
sunfishcode wrote:
Thanks!
https://github.com/llvm/llvm-project/pull/112049
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/sunfishcode updated
https://github.com/llvm/llvm-project/pull/112049
>From c4327c96d09b37c66efe9cf74a4bfdd3b26a98b3 Mon Sep 17 00:00:00 2001
From: Dan Gohman
Date: Fri, 11 Oct 2024 13:31:13 -0700
Subject: [PATCH 01/10] [WebAssembly] Enable nontrapping-fptoint and
bulk-memory
https://github.com/sunfishcode updated
https://github.com/llvm/llvm-project/pull/112049
>From c4327c96d09b37c66efe9cf74a4bfdd3b26a98b3 Mon Sep 17 00:00:00 2001
From: Dan Gohman
Date: Fri, 11 Oct 2024 13:31:13 -0700
Subject: [PATCH 1/9] [WebAssembly] Enable nontrapping-fptoint and bulk-memory
b
https://github.com/sunfishcode updated
https://github.com/llvm/llvm-project/pull/112049
>From c4327c96d09b37c66efe9cf74a4bfdd3b26a98b3 Mon Sep 17 00:00:00 2001
From: Dan Gohman
Date: Fri, 11 Oct 2024 13:31:13 -0700
Subject: [PATCH 1/8] [WebAssembly] Enable nontrapping-fptoint and bulk-memory
b
https://github.com/sunfishcode updated
https://github.com/llvm/llvm-project/pull/112049
>From c4327c96d09b37c66efe9cf74a4bfdd3b26a98b3 Mon Sep 17 00:00:00 2001
From: Dan Gohman
Date: Fri, 11 Oct 2024 13:31:13 -0700
Subject: [PATCH 1/7] [WebAssembly] Enable nontrapping-fptoint and bulk-memory
b
https://github.com/sunfishcode approved this pull request.
Looks good to me. In general lowerings that need to produce multiple values
(BUILD_PAIR or MERGE_VALUES) need to use custom C++ lowering code like this.
https://github.com/llvm/llvm-project/pull/111598
__
https://github.com/sunfishcode closed
https://github.com/llvm/llvm-project/pull/111598
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/sunfishcode updated
https://github.com/llvm/llvm-project/pull/112035
>From 8db1c6225cb938433f57414594cc3accae39f03c Mon Sep 17 00:00:00 2001
From: Dan Gohman
Date: Fri, 11 Oct 2024 04:30:32 -0700
Subject: [PATCH 1/7] [WebAssembly] Define a new "Trail1" CPU
First, define some
sunfishcode wrote:
> Can you split this patch into a separate PR?
Sure, I've now created https://github.com/llvm/llvm-project/pull/112617 with
just the that patch.
https://github.com/llvm/llvm-project/pull/112049
___
cfe-commits mailing list
cfe-comm
sunfishcode wrote:
I've now added a patch which fixes
https://github.com/llvm/llvm-project/issues/63755.
https://github.com/llvm/llvm-project/pull/112049
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/li
https://github.com/sunfishcode updated
https://github.com/llvm/llvm-project/pull/112049
>From 7d55b35158ceb1a5d35ac62ecfe404f6a374e526 Mon Sep 17 00:00:00 2001
From: Dan Gohman
Date: Fri, 11 Oct 2024 13:31:13 -0700
Subject: [PATCH 1/8] [WebAssembly] Enable nontrapping-fptoint and bulk-memory
b
https://github.com/sunfishcode edited
https://github.com/llvm/llvm-project/pull/112049
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -1,4 +1,4 @@
-; RUN: llc -filetype=obj %s -o %t.o
+; RUN: llc -filetype=obj -mattr=-bulk-memory %s -o %t.o
sunfishcode wrote:
I've now investigated custom-section-name.ll more.
With bulk-memory, we get a `__wasm_init_memory` function:
```
(module $custom-sect
@@ -2,7 +2,7 @@
; RUN: llvm-as -o %t.o %s
; RUN: llvm-as -o %t2.o %S/Inputs/libcall-archive.ll
; RUN: llvm-ar rcs %t.a %t2.o
-; RUN: wasm-ld -o %t %t.o %t.a
+; RUN: wasm-ld -mllvm -mattr=-bulk-memory -o %t %t.o %t.a
sunfishcode wrote:
Done
https://github.com/
@@ -151,8 +151,10 @@ bool WebAssemblyTargetInfo::initFeatureMap(
llvm::StringMap &Features, DiagnosticsEngine &Diags, StringRef CPU,
const std::vector &FeaturesVec) const {
auto addGenericFeatures = [&]() {
+Features["bulk-memory"] = true;
sunfish
@@ -166,6 +166,8 @@
// GENERIC-INCLUDE-DAG: #define __wasm_mutable_globals__ 1{{$}}
// GENERIC-INCLUDE-DAG: #define __wasm_reference_types__ 1{{$}}
// GENERIC-INCLUDE-DAG: #define __wasm_sign_ext__ 1{{$}}
+// GENERIC-INCLUDE-DAG: #define __wasm_nontrapping_fptoint__ 1{{$}}
+//
https://github.com/sunfishcode updated
https://github.com/llvm/llvm-project/pull/112049
>From 7d55b35158ceb1a5d35ac62ecfe404f6a374e526 Mon Sep 17 00:00:00 2001
From: Dan Gohman
Date: Fri, 11 Oct 2024 13:31:13 -0700
Subject: [PATCH 1/7] [WebAssembly] Enable nontrapping-fptoint and bulk-memory
b
@@ -1,4 +1,4 @@
-; RUN: llc -filetype=obj %s -o %t.o
+; RUN: llc -filetype=obj -mattr=-bulk-memory %s -o %t.o
sunfishcode wrote:
In lld/test/wasm/custom-section-name.ll, it's because bulk-memory makes the
target_features section bigger and thus changes some of t
@@ -1,9 +1,9 @@
; REQUIRES: asserts
-; RUN: llc < %s -disable-wasm-fallthrough-return-opt
-wasm-disable-explicit-locals -wasm-keep-registers -disable-block-placement
-verify-machineinstrs -fast-isel=false
-machine-sink-split-probability-threshold=0 -cgp-freq-ratio-to-skip-merg
https://github.com/sunfishcode updated
https://github.com/llvm/llvm-project/pull/112049
>From 7d55b35158ceb1a5d35ac62ecfe404f6a374e526 Mon Sep 17 00:00:00 2001
From: Dan Gohman
Date: Fri, 11 Oct 2024 13:31:13 -0700
Subject: [PATCH 1/5] [WebAssembly] Enable nontrapping-fptoint and bulk-memory
b
@@ -2,7 +2,7 @@
; RUN: llvm-as -o %t.o %s
; RUN: llvm-as -o %t2.o %S/Inputs/libcall-archive.ll
; RUN: llvm-ar rcs %t.a %t2.o
-; RUN: wasm-ld -o %t %t.o %t.a
+; RUN: wasm-ld -mllvm -mattr=-bulk-memory -o %t %t.o %t.a
sunfishcode wrote:
This is an LTO test, so t
https://github.com/sunfishcode updated
https://github.com/llvm/llvm-project/pull/112035
>From 8db1c6225cb938433f57414594cc3accae39f03c Mon Sep 17 00:00:00 2001
From: Dan Gohman
Date: Fri, 11 Oct 2024 04:30:32 -0700
Subject: [PATCH 1/6] [WebAssembly] Define a new "Trail1" CPU
First, define some
https://github.com/sunfishcode updated
https://github.com/llvm/llvm-project/pull/112035
>From 8db1c6225cb938433f57414594cc3accae39f03c Mon Sep 17 00:00:00 2001
From: Dan Gohman
Date: Fri, 11 Oct 2024 04:30:32 -0700
Subject: [PATCH 1/5] [WebAssembly] Define a new "Trail1" CPU
First, define some
https://github.com/sunfishcode updated
https://github.com/llvm/llvm-project/pull/112049
>From 7d55b35158ceb1a5d35ac62ecfe404f6a374e526 Mon Sep 17 00:00:00 2001
From: Dan Gohman
Date: Fri, 11 Oct 2024 13:31:13 -0700
Subject: [PATCH 1/4] [WebAssembly] Enable nontrapping-fptoint and bulk-memory
b
https://github.com/sunfishcode updated
https://github.com/llvm/llvm-project/pull/112049
>From 95ad4b292a442b56149ef7f2731671f9bd5c56c1 Mon Sep 17 00:00:00 2001
From: Dan Gohman
Date: Fri, 11 Oct 2024 13:31:13 -0700
Subject: [PATCH 1/3] [WebAssembly] Enable nontrapping-fptoint and bulk-memory
b
https://github.com/sunfishcode updated
https://github.com/llvm/llvm-project/pull/112035
>From b8f33cd68d11759ad774e16b4d25491a1c9fc3e4 Mon Sep 17 00:00:00 2001
From: Dan Gohman
Date: Fri, 11 Oct 2024 04:30:32 -0700
Subject: [PATCH 1/4] [WebAssembly] Define a new "Trail1" CPU
First, define some
https://github.com/sunfishcode updated
https://github.com/llvm/llvm-project/pull/112035
>From b8f33cd68d11759ad774e16b4d25491a1c9fc3e4 Mon Sep 17 00:00:00 2001
From: Dan Gohman
Date: Fri, 11 Oct 2024 04:30:32 -0700
Subject: [PATCH 1/3] [WebAssembly] Define a new "Trail1" CPU
First, define some
https://github.com/sunfishcode updated
https://github.com/llvm/llvm-project/pull/112035
>From b8f33cd68d11759ad774e16b4d25491a1c9fc3e4 Mon Sep 17 00:00:00 2001
From: Dan Gohman
Date: Fri, 11 Oct 2024 04:30:32 -0700
Subject: [PATCH 1/2] [WebAssembly] Define a new "Trail1" CPU
First, define some
https://github.com/sunfishcode updated
https://github.com/llvm/llvm-project/pull/112049
>From 92eccc19f25177edf44c2c37f92381bcca7ff661 Mon Sep 17 00:00:00 2001
From: Dan Gohman
Date: Fri, 11 Oct 2024 13:31:13 -0700
Subject: [PATCH 1/2] [WebAssembly] Enable nontrapping-fptoint and bulk-memory
b
https://github.com/sunfishcode edited
https://github.com/llvm/llvm-project/pull/112049
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/sunfishcode created
https://github.com/llvm/llvm-project/pull/112049
We were prepared to enable these features [back in February], but they got
pulled for what appear to be unrelated reasons. So let's have another try at
enabling them!
Another motivation here is that it'd b
https://github.com/sunfishcode created
https://github.com/llvm/llvm-project/pull/112035
First, define some new target features. These are subsets of existing features
that reflect implemenetation concerns:
- "call-indirect-overlong" - implied by "reference-types"; just the overlong
encoding
sunfishcode wrote:
Oh, I missed that. In that case, that seems sufficient. Thanks!
https://github.com/llvm/llvm-project/pull/106465
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
sunfishcode wrote:
Would it make sense to put these declarations behind `#ifdef __wasm_fp16__` so
that they aren't declared if fp16 support isn't enabled?
https://github.com/llvm/llvm-project/pull/106465
___
cfe-commits mailing list
cfe-commits@lists.
https://github.com/sunfishcode closed
https://github.com/llvm/llvm-project/pull/98373
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/sunfishcode approved this pull request.
https://github.com/llvm/llvm-project/pull/98373
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
sunfishcode wrote:
@mh4ck-Thales Yes; even if we don't get it in before the release branch is
created, I think it'd be reasonable to backport a patch to the release branch.
https://github.com/llvm/llvm-project/pull/95208
___
cfe-commits mailing list
c
sunfishcode wrote:
@mh4ck-Thales A warning could be useful in some situations, but I also don't
know how to navigate the situation with existing users using `-Werror`.
@sbc100 I'm open to ideas for how to limit the scope to wasm in some way.
https://github.com/llvm/llvm-project/pull/95208
https://github.com/sunfishcode closed
https://github.com/llvm/llvm-project/pull/95208
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/sunfishcode approved this pull request.
This looks good to me.
https://github.com/llvm/llvm-project/pull/95208
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
sunfishcode wrote:
/cherry-pick
https://github.com/llvm/llvm-project/commit/d66121d74a458e098511b9de920d815440acaa1b
https://github.com/llvm/llvm-project/pull/84569
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin
https://github.com/sunfishcode milestoned
https://github.com/llvm/llvm-project/pull/84569
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/sunfishcode closed
https://github.com/llvm/llvm-project/pull/84569
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/sunfishcode approved this pull request.
Looks good!
https://github.com/llvm/llvm-project/pull/84569
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -259,6 +259,10 @@ AIX Support
WebAssembly Support
^^^
+The -mcpu=generic configuration now enables nontrapping-fptoint, multivalue,
+reference-types, and bulk-memory.These proposals are standardized and available
+in all major engines.
sunfi
Author: Dan Gohman
Date: 2022-10-25T11:44:22-07:00
New Revision: 1e4e2433bcd1a0296ef1043c462252f0d087d90c
URL:
https://github.com/llvm/llvm-project/commit/1e4e2433bcd1a0296ef1043c462252f0d087d90c
DIFF:
https://github.com/llvm/llvm-project/commit/1e4e2433bcd1a0296ef1043c462252f0d087d90c.diff
LO
Author: Dan Gohman
Date: 2021-02-11T14:44:37-08:00
New Revision: f9c05fc391458e455e8e4d4108a7f270f2f7bedc
URL:
https://github.com/llvm/llvm-project/commit/f9c05fc391458e455e8e4d4108a7f270f2f7bedc
DIFF:
https://github.com/llvm/llvm-project/commit/f9c05fc391458e455e8e4d4108a7f270f2f7bedc.diff
LO
Author: Dan Gohman
Date: 2021-02-04T18:16:48-08:00
New Revision: 95da64da23ac3a5855a8934a738b0fa10aa1323c
URL:
https://github.com/llvm/llvm-project/commit/95da64da23ac3a5855a8934a738b0fa10aa1323c
DIFF:
https://github.com/llvm/llvm-project/commit/95da64da23ac3a5855a8934a738b0fa10aa1323c.diff
LO
Author: Dan Gohman
Date: 2020-08-04T12:48:40-07:00
New Revision: 47f7174ffa71d339c1a65d1dd9a2ac5ff2abc95d
URL:
https://github.com/llvm/llvm-project/commit/47f7174ffa71d339c1a65d1dd9a2ac5ff2abc95d
DIFF:
https://github.com/llvm/llvm-project/commit/47f7174ffa71d339c1a65d1dd9a2ac5ff2abc95d.diff
LO
1 - 100 of 189 matches
Mail list logo