[all-commits] [llvm/llvm-project] 8d89dd: [SLP]Fix PR79743: Check that all users are demoted...

Alexey Bataev via All-commits all-commits at lists.llvm.org
Mon Jan 29 10:54:50 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8d89dd4a5872503d6d5b070bdb48d20973156e07
      https://github.com/llvm/llvm-project/commit/8d89dd4a5872503d6d5b070bdb48d20973156e07
  Author: Alexey Bataev <a.bataev at outlook.com>
  Date:   2024-01-29 (Mon, 29 Jan 2024)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
    M llvm/test/Transforms/SLPVectorizer/X86/minbitwidth-node-with-multi-users.ll

  Log Message:
  -----------
  [SLP]Fix PR79743: Check that all users are demoted before trying to
demote the tree entry.

Need to check if all user nodes are marked for demotion before demoting
the node. Otherwise, some data info might be lost after vectorization.




More information about the All-commits mailing list