[all-commits] [llvm/llvm-project] 240dde: [PowerPC] Change altivec indexed load/store builti...

Qiu Chaofan via All-commits all-commits at lists.llvm.org
Mon Jul 26 09:27:10 PDT 2021


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

  Changed paths:
    M clang/include/clang/Basic/BuiltinsPPC.def
    M clang/lib/Headers/altivec.h
    M clang/test/CodeGen/ppc-emmintrin.c
    M clang/test/CodeGen/ppc-xmmintrin.c

  Log Message:
  -----------
  [PowerPC] Change altivec indexed load/store builtins argument type

This patch changes the index argument of lvxl?/lve[bhw]x and
stvxl?/stve[bhw]x builtins from int to long. Because on 64-bit
subtargets, an extra extsw will always been generated, which is
incorrect.

Reviewed By: nemanjai

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




More information about the All-commits mailing list