[all-commits] [llvm/llvm-project] edded5: [SLP][NFC]Add a test with the incorrect casting of...

Alexey Bataev via All-commits all-commits at lists.llvm.org
Mon Dec 2 00:33:08 PST 2024


  Branch: refs/heads/release/19.x
  Home:   https://github.com/llvm/llvm-project
  Commit: edded5af5494adfc53187719fa3f3b0be7a4a20e
      https://github.com/llvm/llvm-project/commit/edded5af5494adfc53187719fa3f3b0be7a4a20e
  Author: Alexey Bataev <a.bataev at outlook.com>
  Date:   2024-12-02 (Mon, 02 Dec 2024)

  Changed paths:
    A llvm/test/Transforms/SLPVectorizer/abs-overflow-incorrect-minbws.ll

  Log Message:
  -----------
  [SLP][NFC]Add a test with the incorrect casting of the abs argument, NFC

(cherry picked from commit 825f9cb1b31aa91d23eba803003897490de74a20)


  Commit: 9f72c9837c553063ab0cbacc1a472a73c0ec2a4b
      https://github.com/llvm/llvm-project/commit/9f72c9837c553063ab0cbacc1a472a73c0ec2a4b
  Author: Alexey Bataev <a.bataev at outlook.com>
  Date:   2024-12-02 (Mon, 02 Dec 2024)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
    M llvm/test/Transforms/SLPVectorizer/abs-overflow-incorrect-minbws.ll

  Log Message:
  -----------
  [SLP]Check that operand of abs does not overflow before making it part of minbitwidth transformation

Need to check that the operand of the abs intrinsic can be safely
truncated before making it part of the minbitwidth transformation.

Fixes #112577

(cherry picked from commit 709abacdc350d63c61888607edb28ce272daa0a0)


Compare: https://github.com/llvm/llvm-project/compare/0e7e5d9bdf3c...9f72c9837c55

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