Page MenuHomePhabricator

CodeGen: Refactor regallocator command line and target selection
Needs ReviewPublic

Authored by arsenm on Tue, Dec 4, 10:00 AM.

Details

Reviewers
MatzeB
Summary

This will allow targets more flexibility to replace the
register allocator core passes. In a future commit,
AMDGPU will run the core register assignment passes
twice, and will also want to disallow using the
standard -regalloc option.

Diff Detail

Event Timeline

arsenm created this revision.Tue, Dec 4, 10:00 AM
aheejin added inline comments.Tue, Dec 4, 9:21 PM
lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp
193

Could you clang-format these? clang-format would place these short functions in a single line.