- Add 64-bit address space feature, and threads feature.
- Rename SIMD feature to SIMD128.
- Rename generic processor to MVP, to follow design's lead.
- Add bleeding-edge 32 and 64 processors, with all features included.
- Fix a few DEBUG_TYPE to match other backends.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
lib/Target/WebAssembly/WebAssembly.td | ||
---|---|---|
26 ↗ | (On Diff #28893) | Ok. |
30 ↗ | (On Diff #28893) | Ok. |
61 ↗ | (On Diff #28893) | The way similar things work on other targets is that there's one ProcessorModel which supports both 32-bit and 64-bit mode. |
lib/Target/WebAssembly/WebAssemblyInstrAtomics.td | ||
15 ↗ | (On Diff #28893) | FWIW, see |
lib/Target/WebAssembly/WebAssemblyInstrInfo.td | ||
19 ↗ | (On Diff #28893) | We should add a HasAddr32 predicate too, since 64-bit mode can't use 32-bit addresses. |
lib/Target/WebAssembly/WebAssemblySubtarget.h | ||
32 ↗ | (On Diff #28893) | 64-bit mode is implied by TargetTriple.isArch64Bit() so we don't need a separate field here. |
Comment Actions
@sunfish updated. I left a FIXME for the atomic IR passes, but I think we can figure it out later.