[all-commits] [llvm/llvm-project] 1084b3: [ARM] Always replace FP16 bitcasts with VMOVhr or ...

David Green via All-commits all-commits at lists.llvm.org
Tue Apr 28 08:13:51 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 1084b323396048bbabbf4b11a173e5926eaeb8c6
      https://github.com/llvm/llvm-project/commit/1084b323396048bbabbf4b11a173e5926eaeb8c6
  Author: David Green <david.green at arm.com>
  Date:   2020-04-28 (Tue, 28 Apr 2020)

  Changed paths:
    M llvm/lib/Target/ARM/ARMISelLowering.cpp
    M llvm/test/CodeGen/Thumb2/mve-intrinsics/vminvq.ll
    M llvm/test/CodeGen/Thumb2/mve-vdup.ll

  Log Message:
  -----------
  [ARM] Always replace FP16 bitcasts with VMOVhr or VMOVrh

This changes the logic with lowering fp16 bitcasts to always produce
either a VMOVhr or a VMOVrh, instead of only trying to do it with
certain surrounding nodes. To perform the same optimisations demand bits
and known bits information has been added for them.

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




More information about the All-commits mailing list