[all-commits] [llvm/llvm-project] 92d5c1: [PowerPC] Update alignment for ReuseLoadInfo in Lo...

bzEq via All-commits all-commits at lists.llvm.org
Thu Apr 16 21:30:15 PDT 2020


  Branch: refs/heads/release/10.x
  Home:   https://github.com/llvm/llvm-project
  Commit: 92d5c1be9ee93850c0a8903f05f36a23ee835dc2
      https://github.com/llvm/llvm-project/commit/92d5c1be9ee93850c0a8903f05f36a23ee835dc2
  Author: Kai Luo <lkail at cn.ibm.com>
  Date:   2020-04-16 (Thu, 16 Apr 2020)

  Changed paths:
    M llvm/lib/Target/PowerPC/PPCISelLowering.cpp
    A llvm/test/CodeGen/PowerPC/kernel-fp-round.ll

  Log Message:
  -----------
  [PowerPC] Update alignment for ReuseLoadInfo in LowerFP_TO_INTForReuse

In LowerFP_TO_INTForReuse, when emitting `stfiwx`, alignment of 4 is
set for the `MachineMemOperand`, but RLI(ReuseLoadInfo)'s alignment is
not updated for following loads.

It's related to failed alignment check reported in
https://bugs.llvm.org/show_bug.cgi?id=45297

Differential Revision: https://reviews.llvm.org/D77624

Backport b7d5229d789b7cb2747226d528ed016624b11cea.




More information about the All-commits mailing list