[all-commits] [llvm/llvm-project] 31906a: [AtomicExpand][PowerPC] Fix all-one mask value

bzEq via All-commits all-commits at lists.llvm.org
Thu Mar 17 22:36:11 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 31906a6090ac2ea513fe5b3e24a2f82e29ca28c3
      https://github.com/llvm/llvm-project/commit/31906a6090ac2ea513fe5b3e24a2f82e29ca28c3
  Author: Kai Luo <lkail at cn.ibm.com>
  Date:   2022-03-18 (Fri, 18 Mar 2022)

  Changed paths:
    M llvm/lib/CodeGen/AtomicExpandPass.cpp
    M llvm/test/CodeGen/PowerPC/atomics-i128.ll
    M llvm/test/Transforms/AtomicExpand/PowerPC/cmpxchg.ll

  Log Message:
  -----------
  [AtomicExpand][PowerPC] Fix all-one mask value

When generating a all-one mask value whose bitwidth is larger than 64, signed extension should be used rather then zero extension.

Reviewed By: jsji

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




More information about the All-commits mailing list