diff options
author | Craig Topper <craig.topper@sifive.com> | 2025-08-06 17:46:43 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-08-06 17:46:43 -0700 |
commit | 886b2133e372108da7b19bd2634c28bdbdf8d04a (patch) | |
tree | ebd05282086db33530bec352c02b048c90397fa6 /llvm/lib/Object/ObjectFile.cpp | |
parent | 3d1c1a5277835baa3d71c23b396d2cbe594505d1 (diff) | |
download | llvm-886b2133e372108da7b19bd2634c28bdbdf8d04a.zip llvm-886b2133e372108da7b19bd2634c28bdbdf8d04a.tar.gz llvm-886b2133e372108da7b19bd2634c28bdbdf8d04a.tar.bz2 |
[RISCV] Relax one of the zexti8 in the PACKH+PACK(W)/SLLI patterns. (#152384)
For RV32 we don't need the byte shifted by 24 to be zero extend
since the extended bits are shifted out.
For RV64, we don't need the byte shifted by 24 to be zero extended
if the upper 32 bits of the result aren't demanded.
Diffstat (limited to 'llvm/lib/Object/ObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions