[all-commits] [llvm/llvm-project] 46fc9a: [X86][AVX] Fold store(extract_element(vtrunc)) to ...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Wed Aug 19 03:11:08 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 46fc9a0dfc0cdd092bbcbd7ca141decb74362053
      https://github.com/llvm/llvm-project/commit/46fc9a0dfc0cdd092bbcbd7ca141decb74362053
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2020-08-19 (Wed, 19 Aug 2020)

  Changed paths:
    M llvm/lib/Target/X86/X86ISelLowering.cpp
    M llvm/test/CodeGen/X86/shuffle-vs-trunc-128.ll
    M llvm/test/CodeGen/X86/shuffle-vs-trunc-256.ll
    M llvm/test/CodeGen/X86/shuffle-vs-trunc-512.ll

  Log Message:
  -----------
  [X86][AVX] Fold store(extract_element(vtrunc)) to truncated store

Add handling for storing the extracted lower (truncated bits) element from a X86ISD::VTRUNC node - this can be lowered to a generic truncated store directly.

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




More information about the All-commits mailing list