[PATCH] D29388: [PPC] Use rldicr instruction for AND with an immediate if possible

Hiroshi Inoue via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 14 22:00:31 PST 2017


inouehrs marked an inline comment as done.
inouehrs added a comment.

This patch reduces one instruction in i64_fp_round.ll and affects the register assignment.

  	li 4, -2048
  	and 4, 5, 4

into

  	rldicr 5, 5, 0, 52


https://reviews.llvm.org/D29388





More information about the llvm-commits mailing list