[llvm] [X86] Lower mathlib call ldexp into scalef when avx512 is enabled (PR #166839)
Simon Pilgrim via llvm-commits
llvm-commits at lists.llvm.org
Thu Nov 20 07:44:27 PST 2025
================
@@ -2101,6 +2101,11 @@ X86TargetLowering::X86TargetLowering(const X86TargetMachine &TM,
// These operations are handled on non-VLX by artificially widening in
// isel patterns.
+ for (MVT VT : {MVT::f16, MVT::f32, MVT::f64, MVT::v8f16, MVT::v4f32,
----------------
RKSimon wrote:
All you need to do is move this about 3 lines up - above the " These operations are handled on non-VLX by artificially widening in isel patterns" comment - as we're not bothering with isel patterns - no need for a new comment.
https://github.com/llvm/llvm-project/pull/166839
More information about the llvm-commits
mailing list