[all-commits] [llvm/llvm-project] c5c1bd: [SLP]Improve minbitwidth analysis for trun'ed gath...

Alexey Bataev via All-commits all-commits at lists.llvm.org
Wed Jul 17 07:41:52 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c5c1bd164fc81a992dfdb5b7c7c672dab0e3f165
      https://github.com/llvm/llvm-project/commit/c5c1bd164fc81a992dfdb5b7c7c672dab0e3f165
  Author: Alexey Bataev <a.bataev at outlook.com>
  Date:   2024-07-17 (Wed, 17 Jul 2024)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
    M llvm/test/Transforms/SLPVectorizer/X86/int-bitcast-minbitwidth.ll
    M llvm/test/Transforms/SLPVectorizer/X86/minbitwidth-transformed-operand.ll
    M llvm/test/Transforms/SLPVectorizer/X86/resched.ll
    M llvm/test/Transforms/SLPVectorizer/X86/shuffle-multivector.ll

  Log Message:
  -----------
  [SLP]Improve minbitwidth analysis for trun'ed gather nodes.

If the gather node is trunc'ed, better to trunc scalars and then gather
them rather than gather and then trunc. Trunc for scalars is free in
most cases.

Reviewers: RKSimon

Reviewed By: RKSimon

Pull Request: https://github.com/llvm/llvm-project/pull/99072



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list