[all-commits] [llvm/llvm-project] 788cb7: [Hexagon] Explicitly truncate constant in UAddSubO...

Brian Cain via All-commits all-commits at lists.llvm.org
Mon Feb 17 07:31:11 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 788cb725d8b92a82e41e64540dccca97c9086a58
      https://github.com/llvm/llvm-project/commit/788cb725d8b92a82e41e64540dccca97c9086a58
  Author: Brian Cain <brian.cain at oss.qualcomm.com>
  Date:   2025-02-17 (Mon, 17 Feb 2025)

  Changed paths:
    M llvm/lib/Target/Hexagon/HexagonISelLowering.cpp
    A llvm/test/CodeGen/Hexagon/iss127296.ll

  Log Message:
  -----------
  [Hexagon] Explicitly truncate constant in UAddSubO (#127360)

After #117558 landed, this code would assert "Value is not an N-bit
unsigned value" in getConstant(), from a test case in zig.

Co-authored-by:  Craig Topper <craig.topper at sifive.com>
Fixes #127296



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