[all-commits] [llvm/llvm-project] 982b8e: [WebAssembly][NFC] Add ComplexPattern for loads

Luke Lau via All-commits all-commits at lists.llvm.org
Wed Dec 14 04:12:03 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 982b8e0bbb38d7d411716192fc398500606ecedd
      https://github.com/llvm/llvm-project/commit/982b8e0bbb38d7d411716192fc398500606ecedd
  Author: Luke Lau <luke at igalia.com>
  Date:   2022-12-14 (Wed, 14 Dec 2022)

  Changed paths:
    M llvm/lib/Target/WebAssembly/WebAssemblyISelDAGToDAG.cpp
    M llvm/lib/Target/WebAssembly/WebAssemblyInstrAtomics.td
    M llvm/lib/Target/WebAssembly/WebAssemblyInstrMemory.td
    M llvm/lib/Target/WebAssembly/WebAssemblyInstrSIMD.td

  Log Message:
  -----------
  [WebAssembly][NFC] Add ComplexPattern for loads

This refactors out the offset and address operand pattern matching into
a ComplexPattern, so that one pattern fragment can match the dynamic and
static (offset) addresses in all possible positions.

Split out from D139530, which also contained an improvement to global
address folding.

Differential Revision: https://reviews.llvm.org/D139631




More information about the All-commits mailing list