[all-commits] [llvm/llvm-project] 7f2a5d: [AArch64] Remove superfluous sxtw in peephole opt ...

David Green via All-commits all-commits at lists.llvm.org
Thu Jul 11 12:20:01 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7f2a5dfe35f8bbaca2819644c7aa844f938befd6
      https://github.com/llvm/llvm-project/commit/7f2a5dfe35f8bbaca2819644c7aa844f938befd6
  Author: David Green <david.green at arm.com>
  Date:   2024-07-11 (Thu, 11 Jul 2024)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64MIPeepholeOpt.cpp
    A llvm/lib/Target/AArch64/peephole-sxtw.mir
    M llvm/test/CodeGen/AArch64/aarch64-mull-masks.ll

  Log Message:
  -----------
  [AArch64] Remove superfluous sxtw in peephole opt (#96293)

Across a basic-block we might have in i32 extract from a value that only
operates on upper bits (for example a sxtw). We can replace the COPY
with a new version skipping the sxtw.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list