[all-commits] [llvm/llvm-project] e1d225: [SLP]Fix minbitwidth analysis for gather nodes wit...

Alexey Bataev via All-commits all-commits at lists.llvm.org
Mon Aug 26 11:47:33 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e1d22512906e69846c8f6a2d29b30832b7c12b46
      https://github.com/llvm/llvm-project/commit/e1d22512906e69846c8f6a2d29b30832b7c12b46
  Author: Alexey Bataev <a.bataev at outlook.com>
  Date:   2024-08-26 (Mon, 26 Aug 2024)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
    M llvm/test/Transforms/SLPVectorizer/X86/gather-with-cmp-user.ll

  Log Message:
  -----------
  [SLP]Fix minbitwidth analysis for gather nodes with icmp users.

If the node is not in MinBWs container and the user node is icmp node,
the compiler should not check the type size of the user instruction, it
is always 1 and is not good for actual bitwidth analysis.

Fixes https://github.com/llvm/llvm-project/issues/105988



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