[all-commits] [llvm/llvm-project] 30dfbf: [CodeGen, AArch64] Fix up warnings in splitStores

david-arm via All-commits all-commits at lists.llvm.org
Mon Jun 8 23:40:43 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 30dfbf03a206ad4f2a18d7fb904831ee728b6cbc
      https://github.com/llvm/llvm-project/commit/30dfbf03a206ad4f2a18d7fb904831ee728b6cbc
  Author: David Sherwood <david.sherwood at arm.com>
  Date:   2020-06-09 (Tue, 09 Jun 2020)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp

  Log Message:
  -----------
  [CodeGen,AArch64] Fix up warnings in splitStores

The code for trying to split up stores is designed for NEON vectors,
where we support arbitrary alignments. It's an optimisation designed
to improve performance by using smaller, aligned stores. However,
we currently only support 16 byte alignments for SVE vectors anyway
so we may as well bail out early.

This change fixes up remaining warnings in a couple of tests:

  CodeGen/AArch64/sve-callbyref-notailcall.ll
  CodeGen/AArch64/sve-calling-convention-byref.ll

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




More information about the All-commits mailing list