[all-commits] [llvm/llvm-project] 0a389c: [x86] use getSplatIndex() in lowerShuffleAsBroadca...

RotateRight via All-commits all-commits at lists.llvm.org
Wed Feb 5 11:56:47 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 0a389c81cdbba9ddbd3c4d8848169c96c5d23069
      https://github.com/llvm/llvm-project/commit/0a389c81cdbba9ddbd3c4d8848169c96c5d23069
  Author: Sanjay Patel <spatel at rotateright.com>
  Date:   2020-02-05 (Wed, 05 Feb 2020)

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

  Log Message:
  -----------
  [x86] use getSplatIndex() in lowerShuffleAsBroadcast()

The old code was doing an N^2 search for splat index.

Differential Revision: https://reviews.llvm.org/D74064




More information about the All-commits mailing list