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

tmatheson-arm via All-commits all-commits at lists.llvm.org
Wed Aug 18 12:14:49 PDT 2021


  Branch: refs/heads/release/13.x
  Home:   https://github.com/llvm/llvm-project
  Commit: f3e1d94de69dda09e7334ce38eacfa0989cd7358
      https://github.com/llvm/llvm-project/commit/f3e1d94de69dda09e7334ce38eacfa0989cd7358
  Author: Tomas Matheson <tomas.matheson at arm.com>
  Date:   2021-08-18 (Wed, 18 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

(cherry picked from commit 40650f27b5df95b2f96d25ea03976d8136804441)




More information about the All-commits mailing list