diff options
author | David Li <57157229+david-xl@users.noreply.github.com> | 2023-12-21 10:18:57 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-21 10:18:57 -0800 |
commit | f44079db22036d0ade2cf3d2e5a24bde5d378efd (patch) | |
tree | 43c03e0f9072bb208d033dcb7ae0a8c35554d97e /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | 6a870cca70e3df6070bdcd2768d6569daae8e1ba (diff) | |
download | llvm-f44079db22036d0ade2cf3d2e5a24bde5d378efd.zip llvm-f44079db22036d0ade2cf3d2e5a24bde5d378efd.tar.gz llvm-f44079db22036d0ade2cf3d2e5a24bde5d378efd.tar.bz2 |
[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.
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions