optNum :: OptimizationLevel -> Word
-- Using llvm-general original constructors rather than
-- llvm-general-util's preferred synonyms in order to prevent a spurious
-- warning about inexhaustive patterns. See GHC ticket #8779.
optNum CG.None = 0
optNum :: OptimizationLevel -> Word
optNum CG.None = 0
optNum CG.None = 0