[all-commits] [llvm/llvm-project] 177a9a: [PowerPC] Unaligned FP default should apply to sca...

Nemanja Ivanovic via All-commits all-commits at lists.llvm.org
Tue Jun 23 14:02:15 PDT 2020


  Branch: refs/heads/release/10.x
  Home:   https://github.com/llvm/llvm-project
  Commit: 177a9ac3c6bcb89ca2f900e20caad92fdeabe9d2
      https://github.com/llvm/llvm-project/commit/177a9ac3c6bcb89ca2f900e20caad92fdeabe9d2
  Author: Nemanja Ivanovic <nemanja.i.ibm at gmail.com>
  Date:   2020-06-23 (Tue, 23 Jun 2020)

  Changed paths:
    M llvm/lib/Target/PowerPC/PPCISelLowering.cpp
    A llvm/test/CodeGen/PowerPC/pr45186.ll

  Log Message:
  -----------
  [PowerPC] Unaligned FP default should apply to scalars only

As reported in PR45186, we could be in a situation where we don't
want to handle unaligned memory accesses for FP scalars but still
have VSX (which allows unaligned access for vectors). Change the
default to only apply to scalars.

Fixes: https://bugs.llvm.org/show_bug.cgi?id=45186
(cherry picked from commit 099a875f28d0131a6ae85af91b9eb8627917fbbe)




More information about the All-commits mailing list