[all-commits] [llvm/llvm-project] 11db0b: [InstCombine] Pre-commit test for D124015

Craig Topper via All-commits all-commits at lists.llvm.org
Wed Apr 20 09:16:00 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 11db0bb64d68b73c392867eca66f46f8ebdac84f
      https://github.com/llvm/llvm-project/commit/11db0bb64d68b73c392867eca66f46f8ebdac84f
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2022-04-20 (Wed, 20 Apr 2022)

  Changed paths:
    M llvm/test/Transforms/InstCombine/bitcast.ll

  Log Message:
  -----------
  [InstCombine] Pre-commit test for D124015

Reviewed By: spatel

Differential Revision: https://reviews.llvm.org/D124016


  Commit: e3f6c2d288ea4c67136fd88b2021ab7fb2b2f2b2
      https://github.com/llvm/llvm-project/commit/e3f6c2d288ea4c67136fd88b2021ab7fb2b2f2b2
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2022-04-20 (Wed, 20 Apr 2022)

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstCombineCasts.cpp
    M llvm/test/Transforms/InstCombine/bitcast.ll

  Log Message:
  -----------
  [InstCombine] Don't look through bitcast from vector in collectInsertionElements.

We're making a recursive call here and everything in the function
assumes we're looking at scalars. This would be violated if we
looked through a bitcast from vectors.

Reviewed By: spatel

Differential Revision: https://reviews.llvm.org/D124015


Compare: https://github.com/llvm/llvm-project/compare/1fae4b492dd1...e3f6c2d288ea


More information about the All-commits mailing list