[PATCH] D88274: [PowerPC] Put the CR field in low bits of GRC during copying CRRC to GRC.
ChenZheng via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sat Sep 26 17:48:15 PDT 2020
shchenz added inline comments.
================
Comment at: llvm/test/CodeGen/PowerPC/reg_copy.mir:83
+ ; CHECK: $x5 = MFOCRF8 $cr7
+ ; CHECK: $x5 = RLWINM8 killed $x5, 32, 28, 31, implicit-def $x3
+ ; CHECK: BLR8 implicit $lr8, implicit $rm, implicit $x3
----------------
Maybe we can save the rlwinm when cr field is cr7. Rotate left 32 equals to no rotate?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D88274/new/
https://reviews.llvm.org/D88274
More information about the llvm-commits
mailing list