[all-commits] [llvm/llvm-project] 938cc5: [AArch64][GlobalISel] Select G_ADD_LOW into a MOVa...

AE via All-commits all-commits at lists.llvm.org
Tue Jun 9 16:48:22 PDT 2020


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

  Changed paths:
    M llvm/lib/Target/AArch64/GISel/AArch64InstructionSelector.cpp
    M llvm/test/CodeGen/AArch64/GlobalISel/call-translator-variadic-musttail.ll

  Log Message:
  -----------
  [AArch64][GlobalISel] Select G_ADD_LOW into a MOVaddr pseudo.

This ensures that we match SelectionDAG behaviour by waiting until the expand
pseudos pass to generate ADRP + ADD pairs. Doing this at selection time for the
G_ADD_LOW is fine because by the time we get to selecting the G_ADD_LOW,
previous attempts to fold it into loads/stores must have failed.

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




More information about the All-commits mailing list