[all-commits] [llvm/llvm-project] 69b71d: [X86][AVX] Cleanup gather_v8i32_v8i32 special test...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Wed Mar 24 04:15:09 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 69b71d245f27ff2538043710bb4207d2d1748099
      https://github.com/llvm/llvm-project/commit/69b71d245f27ff2538043710bb4207d2d1748099
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2021-03-24 (Wed, 24 Mar 2021)

  Changed paths:
    M llvm/test/CodeGen/X86/masked_gather.ll

  Log Message:
  -----------
  [X86][AVX] Cleanup gather_v8i32_v8i32 special test case

Cleanup the gather_v8i32_v8i32 IR to more closely match how the middle-end will optimise the vector geps (exposing more splats).

This helps the gather scalarization case a lot, but shows a missed opportunity for AVX512 gathers to recognise uniform-constant indices.

And none of the cases realise that some of the gathers are really blended broadcasts....


  Commit: c1ef642ad8b5b60bee25d9263beff0837089e565
      https://github.com/llvm/llvm-project/commit/c1ef642ad8b5b60bee25d9263beff0837089e565
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2021-03-24 (Wed, 24 Mar 2021)

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

  Log Message:
  -----------
  [X86] Remove unused 'OneUse' option from IsNOT helper. NFCI.


Compare: https://github.com/llvm/llvm-project/compare/dccf83acf955...c1ef642ad8b5


More information about the All-commits mailing list