[all-commits] [llvm/llvm-project] 16897c: [WebAssembly][GlobalISel] Migrate to extended LLT ...

Demetrius Kanios via All-commits all-commits at lists.llvm.org
Tue Apr 28 16:06:27 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 16897c234a2980e913113d91bcf824ec8dbc429b
      https://github.com/llvm/llvm-project/commit/16897c234a2980e913113d91bcf824ec8dbc429b
  Author: Demetrius Kanios <demetrius at kanios.net>
  Date:   2026-04-28 (Tue, 28 Apr 2026)

  Changed paths:
    M llvm/lib/Target/WebAssembly/CMakeLists.txt
    M llvm/lib/Target/WebAssembly/GISel/WebAssemblyLegalizerInfo.cpp
    M llvm/lib/Target/WebAssembly/GISel/WebAssemblyRegisterBankInfo.cpp
    M llvm/lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp
    M llvm/test/CodeGen/WebAssembly/GlobalISel/instructions/anyext.mir
    M llvm/test/CodeGen/WebAssembly/GlobalISel/instructions/ashr.mir
    M llvm/test/CodeGen/WebAssembly/GlobalISel/instructions/ctlz.mir
    M llvm/test/CodeGen/WebAssembly/GlobalISel/instructions/ctpop.mir
    M llvm/test/CodeGen/WebAssembly/GlobalISel/instructions/cttz.mir
    M llvm/test/CodeGen/WebAssembly/GlobalISel/instructions/fshl.mir
    M llvm/test/CodeGen/WebAssembly/GlobalISel/instructions/fshr.mir
    M llvm/test/CodeGen/WebAssembly/GlobalISel/instructions/implicit_def.mir
    M llvm/test/CodeGen/WebAssembly/GlobalISel/instructions/lshr.mir
    M llvm/test/CodeGen/WebAssembly/GlobalISel/instructions/rotl.mir
    M llvm/test/CodeGen/WebAssembly/GlobalISel/instructions/rotr.mir
    M llvm/test/CodeGen/WebAssembly/GlobalISel/instructions/shl.mir
    M llvm/test/CodeGen/WebAssembly/GlobalISel/irtranslator/args-simd.ll
    M llvm/test/CodeGen/WebAssembly/GlobalISel/irtranslator/args-swiftcc.ll
    M llvm/test/CodeGen/WebAssembly/GlobalISel/irtranslator/args.ll
    M llvm/test/CodeGen/WebAssembly/GlobalISel/irtranslator/call-basics.ll
    M llvm/test/CodeGen/WebAssembly/GlobalISel/irtranslator/ret-aggregates.ll
    M llvm/test/CodeGen/WebAssembly/GlobalISel/irtranslator/ret-basics.ll
    M llvm/test/CodeGen/WebAssembly/GlobalISel/irtranslator/ret-simd.ll

  Log Message:
  -----------
  [WebAssembly][GlobalISel] Migrate to extended LLT (#193047)

Moves Wasm GISel to use the the new extended LLTs added by #155107.

Extended LLTs have (optional) information about whether a particular
scalar is integer vs floating-point. This is a big win for Wasm, since
we can avoid a lot of guess work, and map LLT i32, i64, f32, and f64
directly to their Wasm counterparts.

To take full advantage of this, RegBankSelect has been automated,
iterating over all operands and mapping typed LLTs to their appropriate
register bank.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list