[all-commits] [llvm/llvm-project] 852462: [SLP] Simplify getOperandInfo implementation and b...

Philip Reames via All-commits all-commits at lists.llvm.org
Wed Aug 31 12:25:00 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8524622bdc667d459f1f4bc980055ddc6aa886d5
      https://github.com/llvm/llvm-project/commit/8524622bdc667d459f1f4bc980055ddc6aa886d5
  Author: Philip Reames <preames at rivosinc.com>
  Date:   2022-08-31 (Wed, 31 Aug 2022)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp

  Log Message:
  -----------
  [SLP] Simplify getOperandInfo implementation and be consistent

This is NOT nfc.  Specifically, the following behavior changes:
* Pointers are now allowed.  Both uniform, and constants.
* FP uniform non-constants can now be recognized.
* FP undefs are no longer considered constant.  This matches int behavior which we had tests for.  FP behavior was untested.  Its not clear to me int behavior is reasonable, but it's what tests seem to expect, so go with minimum impact for now.




More information about the All-commits mailing list