[PATCH] D109202: [WebAssembly] Change WebAssemblyMCLowerPrePass to ModulePass

Wouter van Oortmerssen via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 2 15:45:37 PDT 2021


aardappel created this revision.
aardappel added a reviewer: dschuff.
Herald added subscribers: wingo, ecnelises, sunfish, hiraditya, jgravelle-google, sbc100.
aardappel requested review of this revision.
Herald added subscribers: llvm-commits, aheejin.
Herald added a project: LLVM.

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


https://reviews.llvm.org/D109202

Files:
  llvm/lib/Target/WebAssembly/WebAssembly.h
  llvm/lib/Target/WebAssembly/WebAssemblyMCLowerPrePass.cpp
  llvm/test/MC/WebAssembly/stack-ptr-mclower.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D109202.370434.patch
Type: text/x-patch
Size: 5362 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210902/539ac9c2/attachment.bin>


More information about the llvm-commits mailing list