[all-commits] [llvm/llvm-project] b062aa: [CodeGen] Drop disjoint flag when reassociating (#...

Philip Reames via All-commits all-commits at lists.llvm.org
Sun Aug 31 11:23:37 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b062aad57a4191330e692f385125f9e9292b9033
      https://github.com/llvm/llvm-project/commit/b062aad57a4191330e692f385125f9e9292b9033
  Author: Philip Reames <preames at rivosinc.com>
  Date:   2025-08-31 (Sun, 31 Aug 2025)

  Changed paths:
    M llvm/lib/CodeGen/TargetInstrInfo.cpp
    M llvm/test/CodeGen/RISCV/machine-combiner-mir.ll

  Log Message:
  -----------
  [CodeGen] Drop disjoint flag when reassociating (#156218)

This fixes a latent miscompile. To understand why the flag can't be
preserved, consider the case where a0=0, a1=0, a2=-1, and s3=-1.



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