IcmmMachOpFoldM: clarify panic message
authorSergei Trofimovich <slyfox@gentoo.org>
Sat, 11 Feb 2017 13:05:24 +0000 (13:05 +0000)
committerSergei Trofimovich <slyfox@gentoo.org>
Sat, 11 Feb 2017 13:08:53 +0000 (13:08 +0000)
commit594123f57779464c9b7c0f51445639e15b8bd55c
tree5a551cf625050cf0ef1b7de269443d1ad8782a3b
parent639e702b6129f501c539b158b982ed8489e3d09c
IcmmMachOpFoldM: clarify panic message

When adding a new primop cinimod noticed
uninformative ghc panic:
    cmmMachOpFoldM: unknown unary op

This change tweaks panic to contain the op:
    cmmMachOpFoldM: unknown unary op: MO_F_Neg W64

Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
compiler/cmm/CmmOpt.hs