[all-commits] [llvm/llvm-project] 9fdc56: [TLI] Fix replace-with-veclib crash with invalid a...
Paschalis Mpeis via All-commits
all-commits at lists.llvm.org
Fri Jan 12 07:20:03 PST 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 9fdc568824b0992d48704dfa530a12073cc02f5e
https://github.com/llvm/llvm-project/commit/9fdc568824b0992d48704dfa530a12073cc02f5e
Author: Paschalis Mpeis <paschalis.mpeis at arm.com>
Date: 2024-01-12 (Fri, 12 Jan 2024)
Changed paths:
M llvm/lib/CodeGen/ReplaceWithVeclib.cpp
M llvm/unittests/Analysis/CMakeLists.txt
A llvm/unittests/Analysis/ReplaceWithVecLibTest.cpp
Log Message:
-----------
[TLI] Fix replace-with-veclib crash with invalid arguments (#77112)
Fix a crash of `replace-with-veclib` pass, when the arguments of the TLI
mapping do not match the original call.
Now, it simply ignores such cases.
Test require assertions as it accesses programmatically the debug log.
More information about the All-commits
mailing list