Currently LLVM crashes on the added tests, because it tries to create a
MCConstantExpr for floating point constants.
The constant expressions in the example are not folded at IR generation
time and require ConstantFoldConstant to fold them. The patch updates
emitGlobalConstantImpl to use emitGlobalConstant for floating point
constant expressions that can be folded to a ConstantFP.