diff options
author | Nemanja Ivanovic <nemanja.i.ibm@gmail.com> | 2023-07-05 16:32:49 -0400 |
---|---|---|
committer | Nemanja Ivanovic <nemanja.i.ibm@gmail.com> | 2023-07-05 16:33:07 -0400 |
commit | a57236de4eb8f38b4201647b10146941cbbb5c0b (patch) | |
tree | 24bea4b535d45f55aada79bd2e276ec90766d4b8 /llvm/lib/CodeGen/PrologEpilogInserter.cpp | |
parent | b0ec18a3d10c46b3e483862a4c3ef31196869e0f (diff) | |
download | llvm-a57236de4eb8f38b4201647b10146941cbbb5c0b.zip llvm-a57236de4eb8f38b4201647b10146941cbbb5c0b.tar.gz llvm-a57236de4eb8f38b4201647b10146941cbbb5c0b.tar.bz2 |
[PowerPC] Remove extend between shift and and
The SDAG will sometimes insert an extend between
the shift and an and (immediate) even though the
immediate is narrower than the narrow size.
This does not allow us to produce a rotate
instruction (such as rlwinm).
This patch just adds a combine to move the extend
onto the and.
Differential revision: https://reviews.llvm.org/D152911
Diffstat (limited to 'llvm/lib/CodeGen/PrologEpilogInserter.cpp')
0 files changed, 0 insertions, 0 deletions