[all-commits] [llvm/llvm-project] ae51a8: Teach the AArch64 backend to materialize immediate...

Owen Anderson via All-commits all-commits at lists.llvm.org
Sat Feb 4 21:04:43 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ae51a828685d088aca5b5be9dbb3d0695312f2e1
      https://github.com/llvm/llvm-project/commit/ae51a828685d088aca5b5be9dbb3d0695312f2e1
  Author: Owen Anderson <resistor at mac.com>
  Date:   2023-02-04 (Sat, 04 Feb 2023)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64ExpandImm.cpp
    M llvm/lib/Target/AArch64/AArch64ExpandPseudoInsts.cpp
    M llvm/test/CodeGen/AArch64/arm64-movi.ll

  Log Message:
  -----------
  Teach the AArch64 backend to materialize immediates using a pair of ORR-immediate
instructions.

Credit to czwarich for figuring out the algorithm to test for this.

Re-applied with fix for ubsan error on out-of-range shift.

Reviewed By: dmgreen

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




More information about the All-commits mailing list