[all-commits] [llvm/llvm-project] bf873a: [VectorCombine] foldShuffleToIdentity - add debug ...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Sun Dec 22 09:22:17 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: bf873aa3ecef93c8dc8eb792da9e73ceff120492
      https://github.com/llvm/llvm-project/commit/bf873aa3ecef93c8dc8eb792da9e73ceff120492
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2024-12-22 (Sun, 22 Dec 2024)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/VectorCombine.cpp

  Log Message:
  -----------
  [VectorCombine] foldShuffleToIdentity - add debug message for match

Helps with debugging to show to that the fold found the match.


  Commit: eaf67e062c09c30afd05afd8417787cd6760d9a7
      https://github.com/llvm/llvm-project/commit/eaf67e062c09c30afd05afd8417787cd6760d9a7
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2024-12-22 (Sun, 22 Dec 2024)

  Changed paths:
    M llvm/lib/Target/X86/X86ISelLowering.cpp
    A llvm/test/CodeGen/X86/pr120906.ll

  Log Message:
  -----------
  [X86] IsNOT - don't fold not(pcmpgt(C1, C2)) -> pcmpgt(C2, C1 - 1)

Interferes with constant folding of the pcmpgt node.

Yes another example where topological node sorting would have helped us.

Fixes #120906


Compare: https://github.com/llvm/llvm-project/compare/db2307d2d7f6...eaf67e062c09

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