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

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


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d3d2f9a4208eedbd2f372c34725ab61c3f4d3aed
      https://github.com/llvm/llvm-project/commit/d3d2f9a4208eedbd2f372c34725ab61c3f4d3aed
  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