[all-commits] [llvm/llvm-project] 9a9fbb: [InstructionSimplify] Enhance simplifySelectInst()...

Congzhe via All-commits all-commits at lists.llvm.org
Tue Oct 21 13:12:48 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9a9fbbba5c81efed72c08a70bbe58427190d69db
      https://github.com/llvm/llvm-project/commit/9a9fbbba5c81efed72c08a70bbe58427190d69db
  Author: Congzhe <congzhe.cao at huawei.com>
  Date:   2025-10-21 (Tue, 21 Oct 2025)

  Changed paths:
    M llvm/lib/Analysis/InstructionSimplify.cpp
    A llvm/test/Transforms/InstCombine/select_with_identical_phi.ll

  Log Message:
  -----------
  [InstructionSimplify] Enhance simplifySelectInst() (#163453)

Fold select instructions with true and false values that act as the same 
phi, which cleans up the IR and open up opportunities for other passes 
such as loop vectorization.



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