[mlir] [clang] [llvm] [X86] Stop custom-widening v2f32 = fpext v2bf16 (PR #80106)

Phoebe Wang via cfe-commits cfe-commits at lists.llvm.org
Wed Jan 31 04:16:42 PST 2024


================
@@ -32815,10 +32815,10 @@ void X86TargetLowering::ReplaceNodeResults(SDNode *N,
     // No other ValueType for FP_EXTEND should reach this point.
     assert(N->getValueType(0) == MVT::v2f32 &&
            "Do not know how to legalize this Node");
-    if (!Subtarget.hasFP16() || !Subtarget.hasVLX())
-      return;
----------------
phoebewang wrote:

I mean these lines should not be changed.

https://github.com/llvm/llvm-project/pull/80106


More information about the cfe-commits mailing list