PowerPC should convert following reg+reg to reg+imm.
body: | bb.0.entry: liveins: $x3, $f1, $x5 $x3 = ADDI8 $x5, 100 STFSX killed $f1, $zero8, $x3 STD killed $x3, killed $x5, 100 BLR8 implicit $lr8, implicit $rm
Fix the bug to make it work.
Differential D57314
[PowerPC] more opportunity for converting reg+reg to reg+imm shchenz on Jan 27 2019, 8:08 PM. Authored by
Details PowerPC should convert following reg+reg to reg+imm. body: | bb.0.entry: liveins: $x3, $f1, $x5 $x3 = ADDI8 $x5, 100 STFSX killed $f1, $zero8, $x3 STD killed $x3, killed $x5, 100 BLR8 implicit $lr8, implicit $rm Fix the bug to make it work.
Diff Detail Event TimelineComment Actions Looked through this and tried a couple of things but overall it looks good.
Comment Actions @nemanjai Thanks for your comments. Change test comment position to avoid YAML grammar error. |
nit:
Since you have updated the condition in the code can you also update the comment above it?