[all-commits] [llvm/llvm-project] c27baa: [X86] isRepeatedTargetShuffleMask - don't require ...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Sun Aug 16 03:54:40 PDT 2020


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

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

  Log Message:
  -----------
  [X86] isRepeatedTargetShuffleMask - don't require specific MVT type. NFC.

Split the isRepeatedTargetShuffleMask into a wrapper variant that takes a MVT describing the mask width, and an internal version that just needs the raw mask element bit size.

This will be necessary for an upcoming change where the horizontal ops element width might not match the shuffle mask element width.




More information about the All-commits mailing list