[all-commits] [llvm/llvm-project] bd13c8: [AArch64][GlobalISel] Emit extloads for ZExt/SExt ...

Jessica Paquette via All-commits all-commits at lists.llvm.org
Mon Aug 2 14:50:03 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: bd13c8e610cad6c60e2b35264bcff9a4e4934615
      https://github.com/llvm/llvm-project/commit/bd13c8e610cad6c60e2b35264bcff9a4e4934615
  Author: Jessica Paquette <jpaquette at apple.com>
  Date:   2021-08-02 (Mon, 02 Aug 2021)

  Changed paths:
    M llvm/lib/Target/AArch64/GISel/AArch64CallLowering.cpp
    M llvm/test/CodeGen/AArch64/GlobalISel/call-lowering-signext.ll
    M llvm/test/CodeGen/AArch64/GlobalISel/call-lowering-zeroext.ll
    M llvm/test/CodeGen/AArch64/GlobalISel/call-translator-ios.ll
    M llvm/test/CodeGen/AArch64/arm64-abi.ll

  Log Message:
  -----------
  [AArch64][GlobalISel] Emit extloads for ZExt/SExt values in assignValueToAddress

When a value is expected to be extended, we should emit an extended load rather
than a normal G_LOAD.

Add checklines to arm64-abi.ll which show that we now emit the correct loads.

For ease of comparison: https://godbolt.org/z/8WvY6EfdE

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




More information about the All-commits mailing list