[all-commits] [llvm/llvm-project] b96ee8: [X86] combineX86ShuffleChain - ensure we only peek...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Mon Sep 20 11:22:55 PDT 2021


  Branch: refs/heads/release/13.x
  Home:   https://github.com/llvm/llvm-project
  Commit: b96ee8f581f6e2f56955525c8252ea18a2aa2fd3
      https://github.com/llvm/llvm-project/commit/b96ee8f581f6e2f56955525c8252ea18a2aa2fd3
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2021-09-20 (Mon, 20 Sep 2021)

  Changed paths:
    M llvm/lib/Target/X86/X86ISelLowering.cpp
    M llvm/test/CodeGen/X86/vector-reduce-mul.ll

  Log Message:
  -----------
  [X86] combineX86ShuffleChain - ensure we only peek through bitcasts to vectors (PR51858)

When searching for hidden identity shuffles (added at rG41146bfe82aecc79961c3de898cda02998172e4b), only peek through bitcasts to the source operand if it is a vector type as well.

(cherry picked from commit dcba99418438ec1d624ad207674234bd2e9e3394)




More information about the All-commits mailing list