[all-commits] [llvm/llvm-project] aacfe2: [InstCombine] recognizeBSwapOrBitReverseIdiom - ad...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Sat Oct 3 08:36:09 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: aacfe2be53d441d256091b2b495875a69fc2f285
      https://github.com/llvm/llvm-project/commit/aacfe2be53d441d256091b2b495875a69fc2f285
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2020-10-03 (Sat, 03 Oct 2020)

  Changed paths:
    M llvm/lib/Transforms/Utils/Local.cpp
    M llvm/test/Transforms/InstCombine/bswap.ll

  Log Message:
  -----------
  [InstCombine] recognizeBSwapOrBitReverseIdiom - add vector support

Add basic vector handling to recognizeBSwapOrBitReverseIdiom/collectBitParts - this works at the element level, all vector element operations must match (splat constants etc.) and there is no cross-element support (insert/extract/shuffle etc.).




More information about the All-commits mailing list