[all-commits] [llvm/llvm-project] 85f89d: Pass replace-with-veclib crashes with invalid argu...

Paschalis Mpeis via All-commits all-commits at lists.llvm.org
Mon Jan 8 01:29:33 PST 2024


  Branch: refs/heads/users/paschalis-mpeis/fix-replace-veclib-crash
  Home:   https://github.com/llvm/llvm-project
  Commit: 85f89de6caaa6f6b86593d8057302b95120ca125
      https://github.com/llvm/llvm-project/commit/85f89de6caaa6f6b86593d8057302b95120ca125
  Author: Paschalis Mpeis <Paschalis.Mpeis at arm.com>
  Date:   2024-01-08 (Mon, 08 Jan 2024)

  Changed paths:
    M llvm/unittests/Analysis/CMakeLists.txt
    A llvm/unittests/Analysis/ReplaceWithVecLibTest.cpp

  Log Message:
  -----------
  Pass replace-with-veclib crashes with invalid arguments


  Commit: 9dfc955fa13264e72a85b4dc93c6582cafc486d2
      https://github.com/llvm/llvm-project/commit/9dfc955fa13264e72a85b4dc93c6582cafc486d2
  Author: Paschalis Mpeis <Paschalis.Mpeis at arm.com>
  Date:   2024-01-08 (Mon, 08 Jan 2024)

  Changed paths:
    M llvm/lib/CodeGen/ReplaceWithVeclib.cpp
    M llvm/unittests/Analysis/ReplaceWithVecLibTest.cpp

  Log Message:
  -----------
  [TLI] Fix replace-with-veclib crashes with invalid arguments.

replace-with-veclib used to crash when the arguments of the TLI mapping
did not match the arguments of the mapping. Now, it simply ignores such
cases.


Compare: https://github.com/llvm/llvm-project/compare/af5c683ec542...9dfc955fa132


More information about the All-commits mailing list