Skip to content
  • David Green's avatar
    [ARM] Always use reductions intrinsics under MVE · 46529978
    David Green authored
    Similar to a recent change to the X86 backend, this changes things so
    that we always produce a reduction intrinsics for all reduction types,
    not just the legal ones. This gives a better chance in the backend to
    custom lower them to something more suitable for MVE. Especially for
    something like fadd the in-order reduction produced during DAG lowering
    is already better than the shuffles produced in the midend, and we can
    do even better with a bit of custom lowering.
    
    Differential Revision: https://reviews.llvm.org/D81398
    46529978