例如:
error: floating point constant invalid for type
%3 = and i8 0x80, %2
^
从IR参考手册的扫描来看,十六进制文字似乎是为无法用合理位数精确表示的浮点数的表示保留的。
这解释了为什么您的错误消息说floating point constant
无效。