[all-commits] [llvm/llvm-project] fceadb: [AArch64][GlobalISel] Improve codegen for some con...

AE via All-commits all-commits at lists.llvm.org
Tue Jun 23 19:25:09 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: fceadbcb335da23d0a9beba8c4080a3e4222a385
      https://github.com/llvm/llvm-project/commit/fceadbcb335da23d0a9beba8c4080a3e4222a385
  Author: Amara Emerson <aemerson at apple.com>
  Date:   2020-06-23 (Tue, 23 Jun 2020)

  Changed paths:
    M llvm/lib/Target/AArch64/GISel/AArch64InstructionSelector.cpp
    A llvm/test/CodeGen/AArch64/GlobalISel/select-const-vector.mir
    M llvm/test/CodeGen/AArch64/GlobalISel/select-vector-icmp.mir
    M llvm/test/CodeGen/AArch64/GlobalISel/select-vector-shift.mir
    M llvm/test/CodeGen/AArch64/combine-loads.ll

  Log Message:
  -----------
  [AArch64][GlobalISel] Improve codegen for some constant vectors by using constant pool loads.

There's more smarts in AArch64ISelLowering that we don't have yet, but this
change incrementally improves some of the more common patterns. I think future
iterations will want to use some combination of PostLegalizerCombiner and the
selector to catch the other cases.

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




More information about the All-commits mailing list