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

Brian Cain via All-commits all-commits at lists.llvm.org
Tue Feb 18 15:11:37 PST 2025


  Branch: refs/heads/release/20.x
  Home:   https://github.com/llvm/llvm-project
  Commit: 3dedc9985a65ecdd90bf1d21e137bc641b337bd2
      https://github.com/llvm/llvm-project/commit/3dedc9985a65ecdd90bf1d21e137bc641b337bd2
  Author: Brian Cain <brian.cain at oss.qualcomm.com>
  Date:   2025-02-18 (Tue, 18 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

(cherry picked from commit 788cb725d8b92a82e41e64540dccca97c9086a58)



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