[all-commits] [llvm/llvm-project] 13f2a5: [ARM] Fixup FP16 bitcasts

David Green via All-commits all-commits at lists.llvm.org
Thu Feb 27 04:19:54 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 13f2a5883f2bf29b65b0a24592c2a38132e8946e
      https://github.com/llvm/llvm-project/commit/13f2a5883f2bf29b65b0a24592c2a38132e8946e
  Author: David Green <david.green at arm.com>
  Date:   2020-02-27 (Thu, 27 Feb 2020)

  Changed paths:
    M llvm/lib/Target/ARM/ARMISelLowering.cpp
    M llvm/test/CodeGen/ARM/fp16-bitcast.ll
    M llvm/test/CodeGen/Thumb2/mve-div-expand.ll
    M llvm/test/CodeGen/Thumb2/mve-fmath.ll
    M llvm/test/CodeGen/Thumb2/mve-masked-ldst.ll
    M llvm/test/CodeGen/Thumb2/mve-masked-store.ll
    M llvm/test/CodeGen/Thumb2/mve-phireg.ll

  Log Message:
  -----------
  [ARM] Fixup FP16 bitcasts

Under fp16 we optimise the bitcast between a VMOVhr and a CopyToReg via
custom lowering. This rewrites that to be a DAG combine instead, which
helps produce better code in the cases where the bitcast is actaully
legal.

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




More information about the All-commits mailing list