[all-commits] [llvm/llvm-project] 4fc2f4: [PowerPC] Fix __builtin_ppc_load2r to return short...

stefanp-ibm via All-commits all-commits at lists.llvm.org
Mon Oct 4 04:17:15 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4fc2f4979cf56fdc87cbd5ed1b02ef3461916731
      https://github.com/llvm/llvm-project/commit/4fc2f4979cf56fdc87cbd5ed1b02ef3461916731
  Author: Stefan Pintilie <stefanp at ca.ibm.com>
  Date:   2021-10-04 (Mon, 04 Oct 2021)

  Changed paths:
    M clang/include/clang/Basic/BuiltinsPPC.def
    M clang/lib/CodeGen/CGBuiltin.cpp
    M clang/test/CodeGen/builtins-ppc-xlcompat-load-store-reversed.c
    M llvm/include/llvm/IR/IntrinsicsPowerPC.td
    M llvm/lib/Target/PowerPC/PPCISelLowering.cpp
    M llvm/test/CodeGen/PowerPC/builtins-ppc-xlcompat-load-store-reversed.ll

  Log Message:
  -----------
  [PowerPC] Fix __builtin_ppc_load2r to return short instead of int.

This patch fixes the return value of the builtin __builtin_ppc_load2r to
correctly return short instead of int.

Reviewed By: nemanjai, #powerpc

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




More information about the All-commits mailing list