[all-commits] [llvm/llvm-project] 004485: Revert "llvm/lib/CodeGen/TargetSchedule.cpp:132:12...

David Blaikie via All-commits all-commits at lists.llvm.org
Sat May 4 11:43:31 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 004485690e8e36610b6f9eb4ccfc7de411aa1b1b
      https://github.com/llvm/llvm-project/commit/004485690e8e36610b6f9eb4ccfc7de411aa1b1b
  Author: David Blaikie <dblaikie at gmail.com>
  Date:   2024-05-04 (Sat, 04 May 2024)

  Changed paths:
    M llvm/lib/CodeGen/TargetSchedule.cpp

  Log Message:
  -----------
  Revert "llvm/lib/CodeGen/TargetSchedule.cpp:132:12: warning: Assert statement modifies 'NIter'" (#91079)

Reverts llvm/llvm-project#90982

NIter was only declared in !NDEBUG, and only used for assertions - so it
was correct that it was incremented inside the assertion. (& in fact now
the non-asserts build fails, because the variable is incremented even
though it isn't declared)



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