[all-commits] [llvm/llvm-project] a22ecb: [PowerPC] Fix i64 to vector lowering on big endian

Qiu Chaofan via All-commits all-commits at lists.llvm.org
Wed Jul 7 20:06:33 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a22ecb4508288f6900ad9216ef1490ab72ad68ed
      https://github.com/llvm/llvm-project/commit/a22ecb4508288f6900ad9216ef1490ab72ad68ed
  Author: Qiu Chaofan <qiucofan at cn.ibm.com>
  Date:   2021-07-08 (Thu, 08 Jul 2021)

  Changed paths:
    M llvm/lib/Target/PowerPC/PPCISelLowering.cpp
    M llvm/test/CodeGen/PowerPC/p8-scalar_vector_conversions.ll

  Log Message:
  -----------
  [PowerPC] Fix i64 to vector lowering on big endian

Lowering for scalar to vector would skip if current subtarget is big
endian and the scalar is larger or equal than 64 bits. However there's
some issue in implementation that SToVRHS may refer to SToVLHS's scalar
size if SToVLHS is present, which leads to some crash.o

Reviewed By: nemanjai, shchenz

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




More information about the All-commits mailing list