[all-commits] [llvm/llvm-project] 99254f: Revert "[InstCombine] improve efficiency of bool l...

Sanjay Patel via All-commits all-commits at lists.llvm.org
Thu Dec 8 11:18:28 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 99254f925185e18f456821e27a2272136518f9f3
      https://github.com/llvm/llvm-project/commit/99254f925185e18f456821e27a2272136518f9f3
  Author: Sanjay Patel <spatel at rotateright.com>
  Date:   2022-12-08 (Thu, 08 Dec 2022)

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstCombineVectorOps.cpp

  Log Message:
  -----------
  Revert "[InstCombine] improve efficiency of bool logic; NFC"

This reverts commit b7c7fe3d0779b6e332fe6db64e87561deba2e56a.

As discussed in the planned follow-on to this patch (D138874),
this and the previous patch in this set can cause trouble for
the backend, and there's probably no quick fix. We may even
want to canonicalize in the opposite direction (towards insertelt).


  Commit: 05dbdb0088a3f5541d9e91c61a564d0aa4704f4f
      https://github.com/llvm/llvm-project/commit/05dbdb0088a3f5541d9e91c61a564d0aa4704f4f
  Author: Sanjay Patel <spatel at rotateright.com>
  Date:   2022-12-08 (Thu, 08 Dec 2022)

  Changed paths:
    M clang/test/Headers/wasm.c
    M llvm/lib/Transforms/InstCombine/InstCombineVectorOps.cpp
    M llvm/test/Transforms/InstCombine/insert-trunc.ll
    M llvm/test/Transforms/InstCombine/vec_phi_extract-inseltpoison.ll
    M llvm/test/Transforms/InstCombine/vec_phi_extract.ll
    M llvm/test/Transforms/LoopVectorize/ARM/pointer_iv.ll
    M llvm/test/Transforms/PhaseOrdering/X86/vec-load-combine.ll

  Log Message:
  -----------
  Revert "[InstCombine] canonicalize trunc + insert as bitcast + shuffle, part 1 (2nd try)"

This reverts commit e71b81cab09bf33e3b08ed600418b72cc4117461.

As discussed in the planned follow-on to this patch (D138874),
this and the subsequent patches in this set can cause trouble for
the backend, and there's probably no quick fix. We may even
want to canonicalize in the opposite direction (towards insertelt).


  Commit: 32cc7d3497507c6e6a150d7cbd58308f9a1558b4
      https://github.com/llvm/llvm-project/commit/32cc7d3497507c6e6a150d7cbd58308f9a1558b4
  Author: Sanjay Patel <spatel at rotateright.com>
  Date:   2022-12-08 (Thu, 08 Dec 2022)

  Changed paths:
    A llvm/test/Transforms/InstCombine/insertelt-trunc.ll

  Log Message:
  -----------
  [InstCombine] add tests for insertelts of truncs; NFC


Compare: https://github.com/llvm/llvm-project/compare/49c86eab627b...32cc7d349750


More information about the All-commits mailing list