[all-commits] [llvm/llvm-project] f4c5ca: [ARM] Select f32 constants with vmov.f16

David Green via All-commits all-commits at lists.llvm.org
Mon Sep 21 03:11:14 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: f4c5cadbcbb41f13cff0905449cfff4aef6a083c
      https://github.com/llvm/llvm-project/commit/f4c5cadbcbb41f13cff0905449cfff4aef6a083c
  Author: David Green <david.green at arm.com>
  Date:   2020-09-21 (Mon, 21 Sep 2020)

  Changed paths:
    M llvm/lib/Target/ARM/ARMISelLowering.cpp
    M llvm/lib/Target/ARM/ARMInstrVFP.td
    M llvm/lib/Target/ARM/MCTargetDesc/ARMAddressingModes.h
    M llvm/test/CodeGen/ARM/cmse-clear-float-hard.ll
    M llvm/test/CodeGen/ARM/fp16-bitcast.ll

  Log Message:
  -----------
  [ARM] Select f32 constants with vmov.f16

This adds lowering for f32 values using the vmov.f16, which zeroes the
top bits whilst setting the lower bits to a pattern. This range of
values does not often come up, except where a f16 constant value has
been converted to a f32.

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




More information about the All-commits mailing list