[all-commits] [llvm/llvm-project] 1cc4f8: [ARM] Expand vector reduction intrinsics on soft f...

Nikita Popov via All-commits all-commits at lists.llvm.org
Mon Feb 3 09:50:50 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 1cc4f8d17247cd9be88addd75d060f9321b6f8b0
      https://github.com/llvm/llvm-project/commit/1cc4f8d17247cd9be88addd75d060f9321b6f8b0
  Author: Nikita Popov <nikita.ppv at gmail.com>
  Date:   2020-02-03 (Mon, 03 Feb 2020)

  Changed paths:
    M llvm/lib/Target/ARM/ARMTargetTransformInfo.h
    A llvm/test/CodeGen/ARM/vecreduce-fadd-legalization-soft-float.ll

  Log Message:
  -----------
  [ARM] Expand vector reduction intrinsics on soft float

Followup to D73135. If the target doesn't have hard float (default
for ARM), then we assert when trying to soften the result of vector
reduction intrinsics. This patch marks these for expansion as well.
(A bit odd to use vectors on a target without hard float ... but
that's where you end up if you expose target-independent vector types.)

Differential Revision: https://reviews.llvm.org/D73854




More information about the All-commits mailing list