Dan Gohman
0807bc7e07
[wasm-ld] Update supported features in the generic CPU configuration
...
Accompanying https://reviews.llvm.org/D125728 , this updates LLVM
Codegen's "generic" CPU to enable the same new features.
Differential Revision: https://reviews.llvm.org/D125729
2022-11-02 12:51:28 -07:00
Douglas Yung
fc40c73921
Revert "Update supported features in the generic CPU configuration"
...
This reverts commit 11afbf396e
.
There are 10 tests still failing after follow-up fix b5d0bf9b98
, this should get the following bots back to green:
- https://lab.llvm.org/buildbot/#/builders/183/builds/8194
- https://lab.llvm.org/buildbot/#/builders/186/builds/9491
- https://lab.llvm.org/buildbot/#/builders/214/builds/3908
- https://lab.llvm.org/buildbot/#/builders/93/builds/11740
- https://lab.llvm.org/buildbot/#/builders/231/builds/4200
- https://lab.llvm.org/buildbot/#/builders/121/builds/24519
- https://lab.llvm.org/buildbot/#/builders/230/builds/4466
- https://lab.llvm.org/buildbot/#/builders/94/builds/11639
- https://lab.llvm.org/buildbot/#/builders/45/builds/9325
- https://lab.llvm.org/buildbot/#/builders/124/builds/5219
- https://lab.llvm.org/buildbot/#/builders/67/builds/8623
- https://lab.llvm.org/buildbot/#/builders/123/builds/13836
- https://lab.llvm.org/buildbot/#/builders/109/builds/49355
- https://lab.llvm.org/buildbot/#/builders/58/builds/27751
- https://lab.llvm.org/buildbot/#/builders/117/builds/9922
- https://lab.llvm.org/buildbot/#/builders/16/builds/37012
- https://lab.llvm.org/buildbot/#/builders/104/builds/9490
- https://lab.llvm.org/buildbot/#/builders/42/builds/7725
- https://lab.llvm.org/buildbot/#/builders/196/builds/20077
- https://lab.llvm.org/buildbot/#/builders/3/builds/15217
- https://lab.llvm.org/buildbot/#/builders/6/builds/15251
- https://lab.llvm.org/buildbot/#/builders/9/builds/15247
- https://lab.llvm.org/buildbot/#/builders/36/builds/26487
- https://lab.llvm.org/buildbot/#/builders/54/builds/2474
- https://lab.llvm.org/buildbot/#/builders/74/builds/14536
- https://lab.llvm.org/buildbot/#/builders/5/builds/28555
2022-10-25 16:34:08 -07:00
Dan Gohman
11afbf396e
Update supported features in the generic CPU configuration
...
Accompanying https://reviews.llvm.org/D125728 , this updates LLVM
Codegen's "generic" CPU to enable the same new features.
Differential Revision: https://reviews.llvm.org/D125729
2022-10-25 11:42:32 -07:00
Thomas Lively
122b0220fd
[WebAssembly] Remove datalayout strings from llc tests
...
The data layout strings do not have any effect on llc tests and will become
misleadingly out of date as we continue to update the canonical data layout, so
remove them from the tests.
Differential Revision: https://reviews.llvm.org/D105842
2021-07-14 11:17:08 -07:00
Thomas Lively
dbcd7f5602
[WebAssembly] Restore defaults for stores per memop
...
Summary:
Large slowdowns were observed in Rust due to many small, constant
sized copies in conjunction with poorly-optimized memory.copy
implementations. Since memory.copy cannot be expected to be inlined
efficiently by engines at this time, stop using it for the smallest
copies. We continue to lower all memcpy intrinsics to memory.copy,
though.
Reviewers: aheejin, alexcrichton
Subscribers: dschuff, sbc100, jgravelle-google, hiraditya, JDevlieghere, sunfish, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D67639
llvm-svn: 372275
2019-09-18 23:18:16 +00:00
Thomas Lively
972d7d514b
[WebAssembly] Use named operands to identify loads and stores
...
Summary:
Uses the named operands tablegen feature to look up the indices of
offset, address, and p2align operands for all load and store
instructions. This replaces brittle, incorrect logic for identifying
loads and store when eliminating frame indices, which previously
crashed on bulk-memory ops. It also cleans up the SetP2Alignment pass.
Reviewers: aheejin, dschuff
Subscribers: sbc100, jgravelle-google, hiraditya, sunfish, jfb, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D59007
llvm-svn: 355770
2019-03-09 04:31:37 +00:00
Thomas Lively
bba3f06d05
[WebAssembly] memory.fill
...
Summary:
memset lowering, fix argument types in memcpy lowering, and
test encodings. Depends on D57736.
Reviewers: aheejin
Subscribers: dschuff, sbc100, jgravelle-google, hiraditya, sunfish, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D57791
llvm-svn: 353986
2019-02-13 22:25:18 +00:00
Thomas Lively
de7a0a1526
[WebAssembly] Bulk memory intrinsics and builtins
...
Summary:
implements llvm intrinsics and clang intrinsics for
memory.init and data.drop.
Reviewers: aheejin
Subscribers: dschuff, sbc100, jgravelle-google, hiraditya, sunfish, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D57736
llvm-svn: 353983
2019-02-13 22:11:16 +00:00
Thomas Lively
315056692d
[WebAssembly] Lower memmove to memory.copy
...
Summary: The lowering is identical to the memcpy lowering.
Reviewers: aheejin
Subscribers: dschuff, sbc100, jgravelle-google, hiraditya, sunfish, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D57727
llvm-svn: 353216
2019-02-05 20:57:40 +00:00
Thomas Lively
d99af23765
[WebAssembly] memory.copy
...
Summary: Depends on D57495.
Reviewers: aheejin, dschuff
Subscribers: sbc100, jgravelle-google, hiraditya, sunfish
Differential Revision: https://reviews.llvm.org/D57498
llvm-svn: 353127
2019-02-05 00:49:55 +00:00
Thomas Lively
88058d4e1e
[WebAssembly] Add bulk memory target feature
...
Summary: Also clean up some preexisting target feature code.
Reviewers: aheejin
Subscribers: dschuff, sbc100, jgravelle-google, hiraditya, sunfish, jfb
Differential Revision: https://reviews.llvm.org/D57495
llvm-svn: 352793
2019-01-31 21:02:19 +00:00