[all-commits] [llvm/llvm-project] cec2ee: [Clang] Fix assertion "unsigned range includes neg...

Yutong Zhu via All-commits all-commits at lists.llvm.org
Tue Sep 22 05:42:04 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: cec2eeb8ff2f1075b036d9bfd06c365d006bc972
      https://github.com/llvm/llvm-project/commit/cec2eeb8ff2f1075b036d9bfd06c365d006bc972
  Author: Yutong Zhu <y25zhu at uwaterloo.ca>
  Date:   2026-09-22 (Tue, 22 Sep 2026)

  Changed paths:
    M clang/docs/ReleaseNotes.md
    M clang/test/Sema/compare.c

  Log Message:
  -----------
  [Clang] Fix assertion "unsigned range includes negative?" in AnalyzeComparison during Sema of vector comparison with mismatched signed/unsigned types and __builtin_convertvector  (#182627)

The ``TryGetExprRange`` function now checks if the operand is an unsigned
vector when computing the ranges.

Fixes #173614



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