[all-commits] [llvm/llvm-project] 87e4ad: [X86] Remove isel pattern for MMX_X86movdq2q+simpl...

topperc via All-commits all-commits at lists.llvm.org
Fri May 29 10:20:32 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 87e4ad4d5ce1a231fae257faaada8badcfc22d43
      https://github.com/llvm/llvm-project/commit/87e4ad4d5ce1a231fae257faaada8badcfc22d43
  Author: Craig Topper <craig.topper at gmail.com>
  Date:   2020-05-29 (Fri, 29 May 2020)

  Changed paths:
    M llvm/lib/Target/X86/X86ISelLowering.cpp
    M llvm/lib/Target/X86/X86InstrMMX.td
    M llvm/test/CodeGen/X86/mmx-fold-load.ll

  Log Message:
  -----------
  [X86] Remove isel pattern for MMX_X86movdq2q+simple_load. Replace with DAG combine to to loadmmx.

Only 64-bit bits will be loaded, not the whole 128 bits. We can
just combine it to plain mmx load. This has the side effect of
enabling isel load folding for it.

This part of my desire to get rid of isel patterns that shrink loads.




More information about the All-commits mailing list