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

bzEq via All-commits all-commits at lists.llvm.org
Thu Apr 9 22:50:33 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: b7d5229d789b7cb2747226d528ed016624b11cea
      https://github.com/llvm/llvm-project/commit/b7d5229d789b7cb2747226d528ed016624b11cea
  Author: Kai Luo <lkail at cn.ibm.com>
  Date:   2020-04-10 (Fri, 10 Apr 2020)

  Changed paths:
    M llvm/lib/Target/PowerPC/PPCISelLowering.cpp
    M 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




More information about the All-commits mailing list