Skip to content
Snippets Groups Projects
Forked from Glasgow Haskell Compiler / GHC
Source project has a limited visibility.
  • Cheng Shao's avatar
    8d64ea3d
    rts: enable wasm32 register mapping · 8d64ea3d
    Cheng Shao authored
    The wasm backend didn't properly make use of all Cmm global registers
    due to #24347. Now that it is fixed, this patch re-enables full
    register mapping for wasm32, and we can now generate smaller & faster
    wasm modules that doesn't always spill arguments onto the stack. Fixes #22460 #24152.
    
    (cherry picked from commit 0cda2b8b)
    (cherry picked from commit f1f5068b398b1effb837add38ecc5303dc9a381f)
    (cherry picked from commit 1e695750)
    8d64ea3d
    History
    rts: enable wasm32 register mapping
    Cheng Shao authored
    The wasm backend didn't properly make use of all Cmm global registers
    due to #24347. Now that it is fixed, this patch re-enables full
    register mapping for wasm32, and we can now generate smaller & faster
    wasm modules that doesn't always spill arguments onto the stack. Fixes #22460 #24152.
    
    (cherry picked from commit 0cda2b8b)
    (cherry picked from commit f1f5068b398b1effb837add38ecc5303dc9a381f)
    (cherry picked from commit 1e695750)
Code owners
Assign users and groups as approvers for specific file changes. Learn more.