[PATCH] D139440: [WebAssembly] Initialize missing passes in WebAssemblyTargetMachine
Luke Lau via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Dec 6 09:00:21 PST 2022
luke created this revision.
luke added reviewers: asb, sunfish, tlively, aheejin, sbc100.
Herald added subscribers: pmatos, StephenFan, ecnelises, hiraditya, jgravelle-google, dschuff.
Herald added a project: All.
luke requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
These passes were lying around but weren't initialized, so they weren't
showing up in -print-after-all
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D139440
Files:
llvm/lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp
Index: llvm/lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp
===================================================================
--- llvm/lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp
+++ llvm/lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp
@@ -79,6 +79,8 @@
initializeWebAssemblyDebugFixupPass(PR);
initializeWebAssemblyPeepholePass(PR);
initializeWebAssemblyMCLowerPrePassPass(PR);
+ initializeWebAssemblyLowerRefTypesIntPtrConvPass(PR);
+ initializeWebAssemblyFixBrTableDefaultsPass(PR);
}
//===----------------------------------------------------------------------===//
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D139440.480512.patch
Type: text/x-patch
Size: 602 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221206/67cbcf3f/attachment.bin>
More information about the llvm-commits
mailing list