[all-commits] [llvm/llvm-project] 22987b: [X86] Teach combineCVTP2I_CVTTP2I to handle STRICT...

topperc via All-commits all-commits at lists.llvm.org
Sun Jun 7 19:49:10 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 22987babd5c4a0eff59a8ac6c479665b37dadea3
      https://github.com/llvm/llvm-project/commit/22987babd5c4a0eff59a8ac6c479665b37dadea3
  Author: Craig Topper <craig.topper at gmail.com>
  Date:   2020-06-07 (Sun, 07 Jun 2020)

  Changed paths:
    M llvm/lib/Target/X86/X86ISelLowering.cpp
    M llvm/test/CodeGen/X86/vec-strict-fptoint-128.ll

  Log Message:
  -----------
  [X86] Teach combineCVTP2I_CVTTP2I to handle STRICT_CVTTP2SI/STRICT_CVTTP2UI

Allows us to shrink 128-bit simple load to enable folding for
v2f32->v2i64 vcvttps2qq/vcvttps2uqq.


  Commit: e3aece06cf0a728cb87b8f039a0fa71eb3e15706
      https://github.com/llvm/llvm-project/commit/e3aece06cf0a728cb87b8f039a0fa71eb3e15706
  Author: Craig Topper <craig.topper at gmail.com>
  Date:   2020-06-07 (Sun, 07 Jun 2020)

  Changed paths:
    M llvm/lib/Target/X86/X86ISelLowering.cpp
    M llvm/test/CodeGen/X86/2012-01-12-extract-sv.ll
    M llvm/test/CodeGen/X86/vec-strict-fptoint-128.ll

  Log Message:
  -----------
  [X86] Improve (vzmovl (insert_subvector)) combine to handle a bitcast between the vzmovl and insert

This combine tries shrink a vzmovl if its input is an
insert_subvector. This patch improves it to turn
(vzmovl (bitcast (insert_subvector))) into
(insert_subvector (vzmovl (bitcast))) potentially allowing the
bitcast to be folded with a load.


Compare: https://github.com/llvm/llvm-project/compare/f8eabd6d016e...e3aece06cf0a


More information about the All-commits mailing list