[all-commits] [llvm/llvm-project] 286ae6: Revert "[InstCombine] canonicalize trunc + insert ...

Sanjay Patel via All-commits all-commits at lists.llvm.org
Thu Dec 8 07:07:19 PST 2022


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

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstCombineVectorOps.cpp
    M llvm/test/Transforms/InstCombine/insert-trunc.ll

  Log Message:
  -----------
  Revert "[InstCombine] canonicalize trunc + insert as bitcast + shuffle, part 2"

This reverts commit dd8d0d21ce6d0665ef5d426372096aaed85b479a.
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).




More information about the All-commits mailing list