[PATCH] D90131: [PowerPC] Add folding patterns for rlwinm + andi_rec.
Nemanja Ivanovic via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Dec 2 03:43:39 PST 2020
nemanjai added inline comments.
================
Comment at: llvm/test/CodeGen/PowerPC/p10-spill-crlt.ll:78
+; CHECK-NEXT: rlwinm. r3, r30, 0, 30, 30
+; CHECK-NEXT: rlwinm r29, r30, 0, 24, 22
; CHECK-NEXT: mcrf cr2, cr0
----------------
nemanjai wrote:
> Well this is less than ideal. Perhaps we should only do this if the GPR that the `andi.` defines is dead?
Sorry, this was meant to say that we should check that the GPR that `andi.` **uses** is killed.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D90131/new/
https://reviews.llvm.org/D90131
More information about the llvm-commits
mailing list