[llvm] [SelectionDAG] Add `STRICT_BF16_TO_FP` and `STRICT_FP_TO_BF16` (PR #80056)
Shilei Tian via llvm-commits
llvm-commits at lists.llvm.org
Wed Jan 31 06:48:57 PST 2024
================
@@ -3248,12 +3249,18 @@ bool SelectionDAGLegalize::ExpandNode(SDNode *Node) {
Results.push_back(Tmp1);
break;
}
+ case ISD::STRICT_BF16_TO_FP:
----------------
shiltian wrote:
This is more like a "fallback" to the non-strict variant when the strict FP is not enforced, which is the purpose of the check below. We have something similar in this big `switch`, such as `case ISD::STRICT_FP_EXTEND`.
https://github.com/llvm/llvm-project/pull/80056
More information about the llvm-commits
mailing list