================
@@ -471,6 +471,8 @@ bool
X86TargetInfo::handleTargetFeatures(std::vector<std::string> &Features,
SSELevel = std::max(SSELevel, Level);
HasFloat16 = SSELevel >= SSE2;
+ if (HasFloat16)
+ HasFastHalfType = true;
----------------
tharunvk wrote:
Yes I agree other fp insts like fadd will be impacted. So I have removed this
logic and handled fabs and fneg case separately in SelectionDAG LowerFP_ROUND
https://github.com/llvm/llvm-project/pull/189395
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits