[PATCH] D35027: [PowerPC] Reduce register pressure by not materializing a constant just for use as an index register for X-Form loads/stores
Lei Huang via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jul 6 10:11:56 PDT 2017
lei added inline comments.
================
Comment at: lib/Target/PowerPC/PPCISelLowering.cpp:2244
+ // we get rid of the add.
+ short imm = 0;
+ if (N.getOpcode() == ISD::ADD &&
----------------
echristo wrote:
> uint16_t Imm
The static function isIntS16Immediate() takes a short&
https://reviews.llvm.org/D35027
More information about the llvm-commits
mailing list