NCG: Implement trivColorable for PowerPC 64-bit
ClosedPublic

Authored by trommler on Dec 5 2016, 12:58 PM.

Details

Summary

Define constants for 64-bit PowerPC in graph
coloring register allocator.

Test Plan

./validate

Diff Detail

Repository
rGHC Glasgow Haskell Compiler
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
trommler updated this revision to Diff 9789.Dec 5 2016, 12:58 PM
trommler retitled this revision from to NCG: Implement trivColorable for PowerPC 64-bit.
trommler updated this object.
trommler edited the test plan for this revision. (Show Details)
trommler added reviewers: simonmar, austin, bgamari, hvr, erikd.
bgamari accepted this revision.Dec 5 2016, 11:20 PM
bgamari edited edge metadata.

Looks reasonable to me. Thanks @trommler!

This revision is now accepted and ready to land.Dec 5 2016, 11:20 PM
hvr edited edge metadata.Dec 6 2016, 2:14 AM

@trommler just wondering, how does register allocation work right now for ppc64?

In D2791#81436, @hvr wrote:

@trommler just wondering, how does register allocation work right now for ppc64?

GHC uses the linear register allocator by default on all platforms. A recently added test exercises the
graph coloring allocator and so GHC panicked in validate.

This revision was automatically updated to reflect the committed changes.