[all-commits] [llvm/llvm-project] a99fb8: [WebAssembly] Change WebAssemblyMCLowerPrePass to ...

Wouter van Oortmerssen via All-commits all-commits at lists.llvm.org
Wed Sep 8 10:48:20 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a99fb86c655660601ac0c3ef2ee65fd92f26e3c6
      https://github.com/llvm/llvm-project/commit/a99fb86c655660601ac0c3ef2ee65fd92f26e3c6
  Author: Wouter van Oortmerssen <aardappel at gmail.com>
  Date:   2021-09-08 (Wed, 08 Sep 2021)

  Changed paths:
    M llvm/lib/Target/WebAssembly/WebAssembly.h
    M llvm/lib/Target/WebAssembly/WebAssemblyMCLowerPrePass.cpp
    A llvm/test/MC/WebAssembly/stack-ptr-mclower.ll

  Log Message:
  -----------
  [WebAssembly] Change WebAssemblyMCLowerPrePass to ModulePass

It was a FunctionPass before, which subverted its purpose to collect ALL symbols before MCLowering, depending on how LLVM schedules function passes.
Fixes https://bugs.llvm.org/show_bug.cgi?id=51555

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




More information about the All-commits mailing list