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

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Wed Sep 15 02:21:20 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: dcba99418438ec1d624ad207674234bd2e9e3394
      https://github.com/llvm/llvm-project/commit/dcba99418438ec1d624ad207674234bd2e9e3394
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2021-09-15 (Wed, 15 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.




More information about the All-commits mailing list