In this patch, we add a more narrower exclusion for
zeroext (srl x) -> srli (slli x), so that it provides an opportunity for the selection of sraiw.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Unit Tests
Unit Tests
Differential D120467
[RISCV] Optimize (sext.w, srli) to sraiw with Zba. Chenbing.Zheng on Feb 24 2022, 3:15 AM. Authored by
Details In this patch, we add a more narrower exclusion for
Diff Detail
Unit Tests |
Don't you also need to check that C3 is 32?