[all-commits] [llvm/llvm-project] 29bd8e: [ARM] Constant fold VMOVrh

David Green via All-commits all-commits at lists.llvm.org
Sun Sep 20 13:33:15 PDT 2020


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

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

  Log Message:
  -----------
  [ARM] Constant fold VMOVrh

This adds simple constant folding for VMOVrh, to constant fold fp16
constants to integer values. It can help especially with soft calling
conventions, but some of the results are not optimal as we end up
loading using a vldr. This will be improved in a follow up patch.

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




More information about the All-commits mailing list