[all-commits] [llvm/llvm-project] 52f347: [Hexagon] Make A2_tfrsi not cheap for operands exc...

Krzysztof Parzyszek via All-commits all-commits at lists.llvm.org
Tue Jan 4 15:48:12 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 52f347010a8c43118293feab05e09a4df52ba04f
      https://github.com/llvm/llvm-project/commit/52f347010a8c43118293feab05e09a4df52ba04f
  Author: SANTANU DAS <santanudas at codeaurora.org>
  Date:   2022-01-04 (Tue, 04 Jan 2022)

  Changed paths:
    M llvm/lib/Target/Hexagon/HexagonInstrInfo.cpp
    M llvm/lib/Target/Hexagon/HexagonInstrInfo.h
    A llvm/test/CodeGen/Hexagon/notcheap.ll

  Log Message:
  -----------
  [Hexagon] Make A2_tfrsi not cheap for operands exceeding 16 bits

This patch aids to reduce code size since it removes generation
of back-to-back A2_tfrsi instructions. It is enabled only at -Os/-Oz.




More information about the All-commits mailing list