[all-commits] [llvm/llvm-project] f44079: [ISel] Add pattern matching for depositing subreg ...
David Li via All-commits
all-commits at lists.llvm.org
Thu Dec 21 10:19:10 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: f44079db22036d0ade2cf3d2e5a24bde5d378efd
https://github.com/llvm/llvm-project/commit/f44079db22036d0ade2cf3d2e5a24bde5d378efd
Author: David Li <57157229+david-xl at users.noreply.github.com>
Date: 2023-12-21 (Thu, 21 Dec 2023)
Changed paths:
M llvm/lib/Target/X86/X86InstrCompiler.td
A llvm/test/CodeGen/X86/insert.ll
Log Message:
-----------
[ISel] Add pattern matching for depositing subreg value (#75978)
Depositing value into the lowest byte/word is a common code pattern.
This patch improves the code generation for it to avoid redundant AND
and OR operations.
More information about the All-commits
mailing list