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

Alexey Bataev via All-commits all-commits at lists.llvm.org
Wed Jul 17 04:17:47 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6425f2d66740b84fc3027b649cd4baf660c384e8
      https://github.com/llvm/llvm-project/commit/6425f2d66740b84fc3027b649cd4baf660c384e8
  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
    M llvm/test/Transforms/SLPVectorizer/orig-btiwidth-les-projected.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