~/talk

An MLIR Dialect for WebAssembly

Talkat WAW 2025 · on Monday, 2025-01-20· [webassembly, compilers-and-language-design]
links:none on file
links:none on file
speakerdeck:blucia0a
slides:none on file

Describes an implemented MLIR WebAssembly dialect and a compiler pipeline that skips the LLVM backend by lowering higher-level MLIR dialects (e.g., scf, tensor, memref) directly to a Wasm-like dialect, avoiding Relooper reabstraction. Demonstrates compiling an intermittent-computing DSL to Wasm using the stack-switching proposal for context switches, runs benchmarks AOT on an Apollo4 Cortex-M4 microcontroller, and reports comparable binary-size/performance with some kernels unexpectedly faster despite no pipeline optimizations yet.

AI-written summary · about

  1. 0:00Introduction
  2. 0:29MLIR and WebAssembly background
  3. 1:33WebAssembly on microcontrollers
  4. 2:58Compiler infrastructure problems
  5. 4:00MLIR compilation pipeline
  6. 6:49Problem and motivation
  7. 7:10Intermittent computing example
  8. 9:19Context switching challenges
  9. 10:01Stack switching proposal
  10. 11:05Custom compilers for WebAssembly
  11. 11:47LLVM limitations for WebAssembly
  12. 13:39MLIR advantages and solution
  13. 14:23MLIR WebAssembly dialect
  14. 15:26Tensor and memory conversion
  15. 16:33Intermittent computing case study
  16. 17:40MLIR WebAssembly benefits
  17. 18:45Performance evaluation
  18. 20:37Future work
  19. 21:21Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.