[all-commits] [llvm/llvm-project] 9481e4: [ARM] Use DefaultAttrsIntrinsics

Nikita Popov via All-commits all-commits at lists.llvm.org
Fri Oct 28 00:59:54 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9481e4ba62d047c6ba7744fdc39a7aa42e6c986e
      https://github.com/llvm/llvm-project/commit/9481e4ba62d047c6ba7744fdc39a7aa42e6c986e
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2022-10-28 (Fri, 28 Oct 2022)

  Changed paths:
    M llvm/include/llvm/IR/IntrinsicsARM.td
    M llvm/test/CodeGen/ARM/vector-DAGCombine.ll

  Log Message:
  -----------
  [ARM] Use DefaultAttrsIntrinsics

Use DefaultAttrsIntrinsics for most ARM intrinsics. This adds the
WillReturn, NoSync, NoFree and NoCallback attributes and is needed
to avoid regressions in the future.

I've switched to DefaultAttrIntrinsics for everything doing arithmetic
and load/store. I've left some TODOs in cases where all DefaultsAttrs
are not correct (e.g. ldrex etc are clearly not nosync) or it wasn't
entirely obvious to me (e.g. stuff interacting with a coprocessor).

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




More information about the All-commits mailing list