HomePhabricator

[PowerPC] Handle SUBFIC in reg+reg -> reg+imm transformation

Authored by nemanjai on Aug 24 2020, 2:22 PM.

Description

[PowerPC] Handle SUBFIC in reg+reg -> reg+imm transformation

We initially missed the subtract-immediate in this transformation.
This patch just adds that.

Differential revision: https://reviews.llvm.org/D84659

Details