As proposed in https://github.com/WebAssembly/simd/pull/352 and using the
opcodes used in the V8 prototype:
https://chromium-review.googlesource.com/c/v8/v8/+/2543167. These instructions
are only usable via intrinsics and clang builtins to make them opt-in while they
are being benchmarked.
Details
- Reviewers
aheejin - Commits
- rG497026c90233: [WebAssembly] Prototype prefetch instructions
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
llvm/test/CodeGen/WebAssembly/simd-prefetch-offset.ll | ||
---|---|---|
127 | Sorry the previous suggestion had an extra ; and there seems no way to delete it |
- Fix section headers in test file
llvm/include/llvm/IR/IntrinsicsWebAssembly.td | ||
---|---|---|
318 | It looks like this is only true for Intrinsics that inherit DefaultAttrsIntrinsic. Otherwise the default-enabled attributes are confusingly disabled by default https://github.com/llvm/llvm-project/blob/5abfeccf10bcbc0d673ece21ddd8d4ac4a0e7594/llvm/include/llvm/IR/Intrinsics.td#L346. As a separate change it would be a good idea to change most of our target intrinsics to use DefaultAttrsIntrinsics. |
It looks IntrWillReturn is applied by default?