[all-commits] [llvm/llvm-project] 23047d: [InstCombine] Add more tests for simplifying `(icm...

goldsteinn via All-commits all-commits at lists.llvm.org
Tue Mar 19 15:18:05 PDT 2024


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

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

  Log Message:
  -----------
  [InstCombine] Add more tests for simplifying `(icmp (and/or x, Mask), y)`; NFC


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

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

  Log Message:
  -----------
  [InstCombine] Add more cases for simplifying `(icmp (and/or x, Mask), y)`

This cleans up basically all the regressions assosiated from #84688

Proof of all new cases: https://alive2.llvm.org/ce/z/5yYWLb

Closes #85445


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

  Changed paths:
    A llvm/test/CodeGen/X86/int-to-fp-demanded.ll

  Log Message:
  -----------
  [DAGCombiner] Add tests for simplifying `{si|ui}tofp`; NFC


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

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
    M llvm/test/CodeGen/X86/combine-sse41-intrinsics.ll
    M llvm/test/CodeGen/X86/int-to-fp-demanded.ll

  Log Message:
  -----------
  [DAGCombiner] Simplifying `{si|ui}tofp` when only signbit is needed

If we only need the signbit `uitofp` simplified to 0, and `sitofp`
simplifies to `bitcast`.

Closes #85138


Compare: https://github.com/llvm/llvm-project/compare/1678785ffc46...353fbeb0a294

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