[all-commits] [llvm/llvm-project] db870c: [InstCombine] Extract helper from matchFunnelShift...
quic-eikansh via All-commits
all-commits at lists.llvm.org
Fri Feb 16 07:46:57 PST 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: db870cfc9ed20e810308262d6d6bbb08b369c23f
https://github.com/llvm/llvm-project/commit/db870cfc9ed20e810308262d6d6bbb08b369c23f
Author: Eikansh Gupta <quic_eikagupt at quicinc.com>
Date: 2024-02-16 (Fri, 16 Feb 2024)
Changed paths:
M llvm/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
M llvm/lib/Transforms/InstCombine/InstCombineInternal.h
Log Message:
-----------
[InstCombine] Extract helper from matchFunnelShift (NFC)
The matchFunnelShift function was doing pattern matching and creating
the fshl/fshr instruction if needed. Moved the pattern matching code to
function convertOrOfShiftsToFunnelShift. It can be reused for other
optimizations.
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