================
@@ -2652,6 +2652,23 @@ bool isInlinableLiteral32(int32_t Literal, bool 
HasInv2Pi) {
          (Val == 0x3e22f983 && HasInv2Pi);
 }
 
+bool isInlinableLiteralBF16(int16_t Literal, bool HasInv2Pi) {
+  if (!HasInv2Pi)
+    return false;
----------------
rampitec wrote:

It does not change the behavior, but generally it shall only matter when you 
compare value to 0x3E22.

https://github.com/llvm/llvm-project/pull/80908
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to