[all-commits] [llvm/llvm-project] f1b1c7: [AMDGPU][True16][CodeGen] Undo sub(x, c) to add in ...

Brox Chen via All-commits all-commits at lists.llvm.org
Tue Jan 14 07:57:55 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f1b1c7f3c18c1b75b620a968746346b1a1d94ce3
      https://github.com/llvm/llvm-project/commit/f1b1c7f3c18c1b75b620a968746346b1a1d94ce3
  Author: Brox Chen <guochen2 at amd.com>
  Date:   2025-01-14 (Tue, 14 Jan 2025)

  Changed paths:
    M llvm/lib/Target/AMDGPU/VOP3Instructions.td
    M llvm/test/CodeGen/AMDGPU/shrink-add-sub-constant.ll

  Log Message:
  -----------
  [AMDGPU][True16][CodeGen] Undo sub(x,c) to add in true16 flow (#118854)

Undo sub x, c -> add x, -c canonicalization in true16 fow.

This duplicating the pattern from fake16 and implemement the same
pattern in true16 format



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