[all-commits] [llvm/llvm-project] 7931a8: [VectorCombine] Scalarize vector intrinsics with s...
Luke Lau via All-commits
all-commits at lists.llvm.org
Wed Jul 2 08:49:15 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 7931a8f102980185f51f251f808552764dbbfd99
https://github.com/llvm/llvm-project/commit/7931a8f102980185f51f251f808552764dbbfd99
Author: Luke Lau <luke at igalia.com>
Date: 2025-07-02 (Wed, 02 Jul 2025)
Changed paths:
M llvm/lib/Transforms/Vectorize/VectorCombine.cpp
M llvm/test/Transforms/VectorCombine/intrinsic-scalarize.ll
Log Message:
-----------
[VectorCombine] Scalarize vector intrinsics with scalar arguments (#146530)
Some intrinsics like llvm.abs or llvm.powi have a scalar argument even
when the overloaded type is a vector.
This patch handles these in scalarizeOpOrCmp to allow scalarizing them.
In the test the leftover vector powi isn't folded away to poison, this
should be fixed in a separate patch.
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