[all-commits] [llvm/llvm-project] e77648: [InstructionCost] Optimize operator==

Fangrui Song via All-commits all-commits at lists.llvm.org
Mon Dec 2 23:22:57 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e776484a02194986028424ef5a5a782de0a681c2
      https://github.com/llvm/llvm-project/commit/e776484a02194986028424ef5a5a782de0a681c2
  Author: Fangrui Song <i at maskray.me>
  Date:   2024-12-02 (Mon, 02 Dec 2024)

  Changed paths:
    M llvm/include/llvm/Support/InstructionCost.h

  Log Message:
  -----------
  [InstructionCost] Optimize operator==

`!(*this < RHS) && !(RHS < *this)` is difficult for the optimizer to
reason about.



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