[all-commits] [llvm/llvm-project] 8daba2: Skip negative length while inferring initializes a...

Haopeng Liu via All-commits all-commits at lists.llvm.org
Sun Dec 22 19:02:13 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8daba2c13dc3f4856d064f57a2a56dcf4ea1d7b3
      https://github.com/llvm/llvm-project/commit/8daba2c13dc3f4856d064f57a2a56dcf4ea1d7b3
  Author: Haopeng Liu <153236845+haopliu at users.noreply.github.com>
  Date:   2024-12-22 (Sun, 22 Dec 2024)

  Changed paths:
    M llvm/lib/Transforms/IPO/FunctionAttrs.cpp
    M llvm/test/Transforms/FunctionAttrs/initializes.ll

  Log Message:
  -----------
  Skip negative length while inferring initializes attr (#120874)

Bail out negative length while inferring initializes attr. Otherwise it
causes an assertion error:
`Attribute 'initializes' does not support unordered ranges`



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