[all-commits] [llvm/llvm-project] bb0078: [X86][SSE] Fold SIGN_EXTEND(SIGN_EXTEND_VECTOR_INR...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Sun Sep 20 11:58:39 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: bb0078e5911a8cd7742c99c391ccea802f02e22e
      https://github.com/llvm/llvm-project/commit/bb0078e5911a8cd7742c99c391ccea802f02e22e
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2020-09-20 (Sun, 20 Sep 2020)

  Changed paths:
    M llvm/lib/Target/X86/X86ISelLowering.cpp
    M llvm/test/CodeGen/X86/masked_load.ll

  Log Message:
  -----------
  [X86][SSE] Fold SIGN_EXTEND(SIGN_EXTEND_VECTOR_INREG(X)) -> SIGN_EXTEND_VECTOR_INREG(X)

It should be possible to make this generic, but we're not great at checking legality of *_EXTEND_VECTOR_INREG ops so I'm conservatively putting this inside X86ISelLowering.cpp


  Commit: 0bfeede669f0d9c051344977805005c98e8cb41d
      https://github.com/llvm/llvm-project/commit/0bfeede669f0d9c051344977805005c98e8cb41d
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2020-09-20 (Sun, 20 Sep 2020)

  Changed paths:
    M llvm/lib/Target/X86/X86ISelLowering.cpp
    M llvm/test/CodeGen/X86/min-legal-vector-width.ll

  Log Message:
  -----------
  [X86][SSE] Fold EXTEND_VECTOR_INREG(EXTRACT_SUBVECTOR(EXTEND(X),0)) -> EXTEND_VECTOR_INREG(X)


Compare: https://github.com/llvm/llvm-project/compare/7903ae4720a8...0bfeede669f0


More information about the All-commits mailing list