[all-commits] [llvm/llvm-project] d752f2: [LoongArch] Eliminate the redundant sign extension...

hev via All-commits all-commits at lists.llvm.org
Mon Sep 16 11:30:24 PDT 2024


  Branch: refs/heads/release/19.x
  Home:   https://github.com/llvm/llvm-project
  Commit: d752f29fb333d47724484e08b32d6499cc1e460e
      https://github.com/llvm/llvm-project/commit/d752f29fb333d47724484e08b32d6499cc1e460e
  Author: hev <wangrui at loongson.cn>
  Date:   2024-09-16 (Mon, 16 Sep 2024)

  Changed paths:
    M llvm/lib/Target/LoongArch/LoongArchOptWInstrs.cpp

  Log Message:
  -----------
  [LoongArch] Eliminate the redundant sign extension of division (#107971)

If all incoming values of `div.d` are sign-extended and all users only
use the lower 32 bits, then convert them to W versions.

Fixes: #107946
(cherry picked from commit 0f47e3aebdd2a4a938468a272ea4224552dbf176)



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