[all-commits] [llvm/llvm-project] 11e415: [ARM] Make v2f64 scalar_to_vector legal

David Green via All-commits all-commits at lists.llvm.org
Mon Feb 8 03:35:28 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 11e415dc908ef66d656366e6b3fe854f68b6e38d
      https://github.com/llvm/llvm-project/commit/11e415dc908ef66d656366e6b3fe854f68b6e38d
  Author: David Green <david.green at arm.com>
  Date:   2021-02-08 (Mon, 08 Feb 2021)

  Changed paths:
    M llvm/lib/Target/ARM/ARMISelLowering.cpp
    M llvm/lib/Target/ARM/ARMInstrMVE.td
    M llvm/test/CodeGen/Thumb2/mve-extractstore.ll
    M llvm/test/CodeGen/Thumb2/mve-shuffle.ll

  Log Message:
  -----------
  [ARM] Make v2f64 scalar_to_vector legal

Because we mark all operations as expand for v2f64, scalar_to_vector
would end up lowering through a stack store/reload. But it is pretty
simple to implement, only inserting a D reg into an undef vector. This
helps clear up some inefficient codegen from soft calling conventions.

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




More information about the All-commits mailing list