[all-commits] [llvm/llvm-project] 901cfb: [Hexagon] Add optimization remarks to Hexagon IR a...

Brian Cain via All-commits all-commits at lists.llvm.org
Wed Jun 3 15:24:43 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 901cfb4aa4d52fd4f751b78bf932f54210fdcf5b
      https://github.com/llvm/llvm-project/commit/901cfb4aa4d52fd4f751b78bf932f54210fdcf5b
  Author: Brian Cain <brian.cain at oss.qualcomm.com>
  Date:   2026-06-03 (Wed, 03 Jun 2026)

  Changed paths:
    M llvm/lib/Target/Hexagon/HexagonHardwareLoops.cpp
    M llvm/lib/Target/Hexagon/HexagonLoopIdiomRecognition.cpp
    M llvm/lib/Target/Hexagon/HexagonVectorCombine.cpp
    M llvm/lib/Target/Hexagon/HexagonVectorLoopCarriedReuse.cpp
    A llvm/test/CodeGen/Hexagon/hvc-remarks.ll
    A llvm/test/CodeGen/Hexagon/hwloop-remarks.ll
    A llvm/test/CodeGen/Hexagon/loop-idiom-remarks.ll
    A llvm/test/CodeGen/Hexagon/vlcr-remarks.ll

  Log Message:
  -----------
  [Hexagon] Add optimization remarks to Hexagon IR and MIR passes (#189176)

Add OptimizationRemark/OptimizationRemarkMissed emissions to four
Hexagon-specific passes, making them observable via the standard
-Rpass/-Rpass-missed flags:

- HexagonLoopIdiomRecognition (hexagon-lir): remarks for loop-to-memcpy/
memmove conversions and polynomial multiply recognition, with missed
remarks for non-countable loops, aliasing, non-affine pointers, etc.

- HexagonVectorLoopCarriedReuse (hexagon-vlcr): remarks for reused
loop-carried vector values, with missed remarks for multi-block loops,
non-innermost loops, and missing candidates.

- HexagonVectorCombine (hexagon-vc): remarks for aligned vector memory
operations, with missed remarks for group size limits, unsafe
relocations, and insufficient HVX version.

- HexagonHardwareLoops (hwloops): remarks for hardware loop conversion,
with missed remarks for invalid instructions (calls), multiple exits,
induction variable issues, and non-computable trip counts.



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