[all-commits] [llvm/llvm-project] f9d4e7: [NFC][Sink] Change runtime checks to asserts (#137...

LU-JOHN via All-commits all-commits at lists.llvm.org
Fri Apr 25 14:21:33 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f9d4e7ef8b656952d3abcc4c5b2634bbf4cb93fe
      https://github.com/llvm/llvm-project/commit/f9d4e7ef8b656952d3abcc4c5b2634bbf4cb93fe
  Author: LU-JOHN <John.Lu at amd.com>
  Date:   2025-04-25 (Fri, 25 Apr 2025)

  Changed paths:
    M llvm/lib/Transforms/Scalar/Sink.cpp

  Log Message:
  -----------
  [NFC][Sink] Change runtime checks to asserts (#137354)

Candidate block for sinking must be dominated by current location. This
is true based on how the candidate block was selected. Runtime checks
are not necessary and has been changed to an assertion.

---------

Signed-off-by: John Lu <John.Lu at amd.com>



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