[all-commits] [llvm/llvm-project] f8c79b: [ARM] Fold VMOVrh VLDR to LDRH

David Green via All-commits all-commits at lists.llvm.org
Tue Mar 24 08:51:56 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: f8c79b94af710dbce35098bc23021ad88ba54966
      https://github.com/llvm/llvm-project/commit/f8c79b94af710dbce35098bc23021ad88ba54966
  Author: David Green <david.green at arm.com>
  Date:   2020-03-24 (Tue, 24 Mar 2020)

  Changed paths:
    M llvm/lib/Target/ARM/ARMISelLowering.cpp
    M llvm/test/CodeGen/Thumb2/mve-float16regloops.ll
    M llvm/test/CodeGen/Thumb2/mve-vcmpfr.ll

  Log Message:
  -----------
  [ARM] Fold VMOVrh VLDR to LDRH

This adds a simple fold to combine VMOVrh load to a integer load.
Similar to what is already performed for BITCAST, but needs to account
for the types being of different sizes, creating an zero extending load.

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




More information about the All-commits mailing list