RegAlloc: Make some pattern matched complete
authorJoachim Breitner <mail@joachim-breitner.de>
Thu, 6 Oct 2016 03:37:03 +0000 (23:37 -0400)
committerJoachim Breitner <mail@joachim-breitner.de>
Thu, 6 Oct 2016 21:47:46 +0000 (17:47 -0400)
commita2bedb5c67b8d0d20dfb22fdeac3fcd07fe5452e
tree7639bbb62540f4c42d948b065c7183a5c20c88a3
parent4a03012aeb4cb6685221b30aea2b1a78145d902b
RegAlloc: Make some pattern matched complete

these actually are complete, but due to the use of pattern guards, the
compiler does not see that. Refactor the code that it does.

Differential Revision: https://phabricator.haskell.org/D2574
compiler/nativeGen/RegAlloc/Graph/Main.hs
compiler/nativeGen/RegAlloc/Liveness.hs