[all-commits] [llvm/llvm-project] 377da5: [InstCombine] Add test for detecting `(x ^ -x)` as...

goldsteinn via All-commits all-commits at lists.llvm.org
Tue Mar 12 11:27:04 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 377da51546b2f514c3e90fca351004a2cf3f1eed
      https://github.com/llvm/llvm-project/commit/377da51546b2f514c3e90fca351004a2cf3f1eed
  Author: Noah Goldstein <goldstein.w.n at gmail.com>
  Date:   2024-03-12 (Tue, 12 Mar 2024)

  Changed paths:
    M llvm/test/Transforms/InstCombine/icmp-and-lowbit-mask.ll

  Log Message:
  -----------
  [InstCombine] Add test for detecting `(x ^ -x)` as a ~Mask; NFC


  Commit: 5ca325e49cedee2aa5e80581ba95dcab56292c32
      https://github.com/llvm/llvm-project/commit/5ca325e49cedee2aa5e80581ba95dcab56292c32
  Author: Noah Goldstein <goldstein.w.n at gmail.com>
  Date:   2024-03-12 (Tue, 12 Mar 2024)

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp
    M llvm/test/Transforms/InstCombine/icmp-and-lowbit-mask.ll

  Log Message:
  -----------
  [InstCombine] Detect `(x ^ -x)` as a ~Mask

Proof: https://alive2.llvm.org/ce/z/TAFmPw

This is a lemma for clearing up some of the regressions that #84688
causes.

Closes #84868


Compare: https://github.com/llvm/llvm-project/compare/a843f26a77de...5ca325e49ced

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