[all-commits] [llvm/llvm-project] 3c9123: [X86] isShuffleFoldableLoad - ensure the load has ...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Sat Jun 18 06:52:16 PDT 2022

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3c9123af9fdd475a2827586424df7acecc738e09
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2022-06-18 (Sat, 18 Jun 2022)

  Changed paths:
    M llvm/lib/Target/X86/X86ISelLowering.cpp

  Log Message:
  [X86] isShuffleFoldableLoad - ensure the load has one use.

We'll only fold the load if has one use. Makes no difference to existing tests but will be necessary for an upcoming patch to improve load folding as part of canonicalizeShuffleWithBinOps.

More information about the All-commits mailing list