[all-commits] [llvm/llvm-project] 649a3d: [ARM] Handle f16 in GeneratePerfectShuffle

David Green via All-commits all-commits at lists.llvm.org
Thu Feb 4 03:15:19 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 649a3d00df93adb169482d19b67c1492d2693abc
      https://github.com/llvm/llvm-project/commit/649a3d00df93adb169482d19b67c1492d2693abc
  Author: David Green <david.green at arm.com>
  Date:   2021-02-04 (Thu, 04 Feb 2021)

  Changed paths:
    M llvm/lib/Target/ARM/ARMISelLowering.cpp
    M llvm/test/CodeGen/ARM/fp16-insert-extract.ll

  Log Message:
  -----------
  [ARM] Handle f16 in GeneratePerfectShuffle

This new f16 shuffle under Neon would hit an assert in
GeneratePerfectShuffle as it would try to treat a f16 vector as an i8.
Add f16 handling, treating them like an i16.

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




More information about the All-commits mailing list