This is an archive of the discontinued LLVM Phabricator instance.

skip custom-lowering for v1f64 to be expanded instead, because it has only one lane
AbandonedPublic

Authored by hassnaa-arm on Aug 30 2022, 10:55 AM.

Details

Reviewers
None

Diff Detail

Event Timeline

hassnaa-arm created this revision.Aug 30 2022, 10:55 AM
Herald added a project: Restricted Project. · View Herald TranscriptAug 30 2022, 10:55 AM
Herald added a subscriber: hiraditya. · View Herald Transcript
hassnaa-arm requested review of this revision.Aug 30 2022, 10:55 AM
Herald added a project: Restricted Project. · View Herald TranscriptAug 30 2022, 10:55 AM
david-arm added inline comments.
llvm/include/llvm/Support/MachineValueType.h
149

Good spot!

llvm/test/CodeGen/AArch64/sve-fixed-length-fp-reduce.ll
205

I think changing the vscale_range to be (1, 0) makes sense given the size of the types we're dealing with, however we'd normally do this in a separate standalone patch because there are now two things being changed here:

  1. Changing the lowering to ignore v1f64 types for ISD::VECREDUCE_SEQ_FADD, and
  2. Changing the vscale_range.

Ideally we'd want to see the effect on the test @fadda_v1f64 by having 1) only.

hassnaa-arm abandoned this revision.Sep 1 2022, 1:27 AM
llvm/lib/Target/AArch64/AArch64ISelLowering.cpp