[all-commits] [llvm/llvm-project] 04c614: [InstCombine] Pull vector reverse through intrinsi...
Luke Lau via All-commits
all-commits at lists.llvm.org
Tue Jul 1 08:49:31 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 04c614327c28339ed4204b3e100a695f14fe754c
https://github.com/llvm/llvm-project/commit/04c614327c28339ed4204b3e100a695f14fe754c
Author: Luke Lau <luke at igalia.com>
Date: 2025-07-01 (Tue, 01 Jul 2025)
Changed paths:
M llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp
M llvm/lib/Transforms/InstCombine/InstCombineInternal.h
M llvm/test/Transforms/InstCombine/vector-reverse.ll
Log Message:
-----------
[InstCombine] Pull vector reverse through intrinsics (#146384)
This is the intrinsic version of #146349, and handles fabs as well as
other intrinsics.
It's largely a copy of InstCombinerImpl::foldShuffledIntrinsicOperands
but a bit simpler since we don't need to find a common mask.
Creating a separate function seems to be cleaner than trying to shoehorn
it into the existing one.
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