[all-commits] [llvm/llvm-project] 26dd12: [SLP]Do not propagate nuw/nsw flags for alt nodes, ...

Alexey Bataev via All-commits all-commits at lists.llvm.org
Tue Mar 26 10:27:35 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 26dd12871ca8a3dcc5e6920add231af354310088
      https://github.com/llvm/llvm-project/commit/26dd12871ca8a3dcc5e6920add231af354310088
  Author: Alexey Bataev <a.bataev at outlook.com>
  Date:   2024-03-26 (Tue, 26 Mar 2024)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
    M llvm/test/Transforms/SLPVectorizer/X86/reorder_diamond_match.ll

  Log Message:
  -----------
  [SLP]Do not propagate nuw/nsw flags for alt nodes, affected by
minbitwidth analysis.

Need to drop nuw/nsw flags, if the alternate node is resized after the
minbitwidth analysis, to avoid producing poison values in corner cases.



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