[all-commits] [llvm/llvm-project] f6add6: [instcombine] Extend logical reduction canonicaliz...

Philip Reames via All-commits all-commits at lists.llvm.org
Wed Jul 17 14:36:33 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f6add66b720f85bf1092af7d6702b7397da57349
      https://github.com/llvm/llvm-project/commit/f6add66b720f85bf1092af7d6702b7397da57349
  Author: Philip Reames <preames at rivosinc.com>
  Date:   2024-07-17 (Wed, 17 Jul 2024)

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp
    M llvm/test/Transforms/InstCombine/vector-logical-reductions.ll

  Log Message:
  -----------
  [instcombine] Extend logical reduction canonicalization to scalable vectors (#99366)

These transformations do not depend on the type being fixed in size, so
enable them for scalable vectors too. Unlike for fixed vectors, these
are only a canonicalization - the bitcast lowering for and/or/add is not
legal on a scalable vector type.



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