[all-commits] [llvm/llvm-project] 225ae8: [InstCombine] fold `cond ? x : -x == 0` into `x ==...

SahilPatidar via All-commits all-commits at lists.llvm.org
Sat Apr 20 01:45:36 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 225ae82fdbbff7d22fbbf9aead00e67e08416ecf
      https://github.com/llvm/llvm-project/commit/225ae82fdbbff7d22fbbf9aead00e67e08416ecf
  Author: SahilPatidar <patidarsahil2001 at gmail.com>
  Date:   2024-04-20 (Sat, 20 Apr 2024)

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp
    M llvm/test/Transforms/InstCombine/fcmp.ll

  Log Message:
  -----------
  [InstCombine] fold `cond ? x : -x == 0` into `x == 0` (#85673)

Resolve #85250 
Alive2: https://alive2.llvm.org/ce/z/7DMRCy



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