[PATCH] D12691: [WebAssembly] Support running without a register allocator in the default CodeGen passes
Dan Gohman via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 8 06:03:04 PDT 2015
sunfish created this revision.
sunfish added a subscriber: llvm-commits.
sunfish set the repository for this revision to rL LLVM.
Herald added subscribers: dschuff, jfb.
WebAssembly doesn't currently use a register allocator, but it does need PHI lowering and other passes. This pass adds support to the default TargetPassConfig::addFastRegAlloc and TargetPassConfig::addOptimizedRegAlloc for detecting when a target has requested no register allocation pass.
This allows the removal of WebAssembly's custom implementations of addFastRegAlloc and addOptimizedRegAlloc.
Repository:
rL LLVM
http://reviews.llvm.org/D12691
Files:
lib/CodeGen/Passes.cpp
lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D12691.34210.patch
Type: text/x-patch
Size: 4197 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150908/f292c1ef/attachment.bin>
More information about the llvm-commits
mailing list