[all-commits] [llvm/llvm-project] a1c0f0: [ARM] Add an extra fold for f32 extract(vdup(i32))

David Green via All-commits all-commits at lists.llvm.org
Mon Jun 28 00:54:22 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a1c0f09a89690f39683bf22126fe8999e62a6645
      https://github.com/llvm/llvm-project/commit/a1c0f09a89690f39683bf22126fe8999e62a6645
  Author: David Green <david.green at arm.com>
  Date:   2021-06-28 (Mon, 28 Jun 2021)

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

  Log Message:
  -----------
  [ARM] Add an extra fold for f32 extract(vdup(i32))

This adds another small fold for extract of a vdup, between a i32 and a
f32, converting to a BITCAST. This allows some extra folding to happen,
simplifying the resulting code.

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




More information about the All-commits mailing list