[all-commits] [llvm/llvm-project] 40650f: [ARM][atomicrmw] Fix CMP_SWAP_32 expand assert

tmatheson-arm via All-commits all-commits at lists.llvm.org
Wed Aug 4 07:02:24 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 40650f27b5df95b2f96d25ea03976d8136804441
      https://github.com/llvm/llvm-project/commit/40650f27b5df95b2f96d25ea03976d8136804441
  Author: Tomas Matheson <tomas.matheson at arm.com>
  Date:   2021-08-04 (Wed, 04 Aug 2021)

  Changed paths:
    M llvm/lib/Target/ARM/ARMExpandPseudoInsts.cpp
    M llvm/test/CodeGen/ARM/cmpxchg.mir

  Log Message:
  -----------
  [ARM][atomicrmw] Fix CMP_SWAP_32 expand assert

This assert is intended to ensure that the high registers are not
selected when it is passed to one of the thumb UXT instructions. However
it was triggering even for 32 bit where no UXT instruction is emitted.

Fixes PR51313.

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




More information about the All-commits mailing list