[all-commits] [llvm/llvm-project] fe946b: [AArch64] Extend sxtw peephole to uxtw. (#104516)

David Green via All-commits all-commits at lists.llvm.org
Tue Aug 20 06:46:41 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: fe946bfb728481a249282fb1e14378bf444defd3
      https://github.com/llvm/llvm-project/commit/fe946bfb728481a249282fb1e14378bf444defd3
  Author: David Green <david.green at arm.com>
  Date:   2024-08-20 (Tue, 20 Aug 2024)

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

  Log Message:
  -----------
  [AArch64] Extend sxtw peephole to uxtw. (#104516)

This extends the existing sxtw peephole optimization (#96293) to uxtw,
which in llvm is a ORRWrr which clears the top bits.

Fixes #98481



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