[all-commits] [llvm/llvm-project] 8a5aea: [X86][AVX] Fold extract_subvector(subv_broadcast(x...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Sun May 24 10:50:05 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 8a5aea7b50429cd4a459511286a7a9f1a7f4f5e2
      https://github.com/llvm/llvm-project/commit/8a5aea7b50429cd4a459511286a7a9f1a7f4f5e2
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2020-05-24 (Sun, 24 May 2020)

  Changed paths:
    M llvm/lib/Target/X86/X86ISelLowering.cpp
    M llvm/test/CodeGen/X86/avx512-vbroadcasti256.ll
    M llvm/test/CodeGen/X86/oddshuffles.ll

  Log Message:
  -----------
  [X86][AVX] Fold extract_subvector(subv_broadcast(x),c) -> (x)

If we're extracting an subvector from a broadcasted subvector of the same type then we can use the source vector directly.




More information about the All-commits mailing list