[all-commits] [llvm/llvm-project] c41196: [SLP]Fix PR61224: Compiler hits infinite loop.
Alexey Bataev via All-commits
all-commits at lists.llvm.org
Mon Mar 6 13:49:48 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: c411965820eb803dd7eac39f80357cad663b7ba0
https://github.com/llvm/llvm-project/commit/c411965820eb803dd7eac39f80357cad663b7ba0
Author: Alexey Bataev <a.bataev at outlook.com>
Date: 2023-03-06 (Mon, 06 Mar 2023)
Changed paths:
M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
A llvm/test/Transforms/SLPVectorizer/X86/reduce-constants.ll
Log Message:
-----------
[SLP]Fix PR61224: Compiler hits infinite loop.
IRBuilder in many cases is able to fold constant code automatically,
but in some cases (for some intrinsics) it cannot do it. Need to perform
manual calculation, if constant provided in these corner cases, to avoid
infinite loop.
More information about the All-commits
mailing list