aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/PrologEpilogInserter.cpp
diff options
context:
space:
mode:
authorNemanja Ivanovic <nemanja.i.ibm@gmail.com>2023-07-05 16:32:49 -0400
committerNemanja Ivanovic <nemanja.i.ibm@gmail.com>2023-07-05 16:33:07 -0400
commita57236de4eb8f38b4201647b10146941cbbb5c0b (patch)
tree24bea4b535d45f55aada79bd2e276ec90766d4b8 /llvm/lib/CodeGen/PrologEpilogInserter.cpp
parentb0ec18a3d10c46b3e483862a4c3ef31196869e0f (diff)
downloadllvm-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