[all-commits] [llvm/llvm-project] e4902e: [PowerPC] Fix return type of XL compat CAS

bzEq via All-commits all-commits at lists.llvm.org
Thu Jul 29 07:49:40 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e4902e69e99d07d6d311425d87d4c1d075b72bf8
      https://github.com/llvm/llvm-project/commit/e4902e69e99d07d6d311425d87d4c1d075b72bf8
  Author: Kai Luo <lkail at cn.ibm.com>
  Date:   2021-07-29 (Thu, 29 Jul 2021)

  Changed paths:
    M clang/lib/CodeGen/CGBuiltin.cpp
    M clang/test/CodeGen/builtins-ppc-xlcompat-cas.c

  Log Message:
  -----------
  [PowerPC] Fix return type of XL compat CAS

`__compare_and_swap*` should return `i32` rather than `i1`.

Reviewed By: jsji

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




More information about the All-commits mailing list