[all-commits] [llvm/llvm-project] 99a10f: Update load intrinsic attributes (#101562)

Kevin McAfee via All-commits all-commits at lists.llvm.org
Thu Aug 15 13:35:10 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 99a10f1fe8a7e4b0fdb4c6dd5e7f24f87e0d3695
      https://github.com/llvm/llvm-project/commit/99a10f1fe8a7e4b0fdb4c6dd5e7f24f87e0d3695
  Author: Kevin McAfee <kmcafee at nvidia.com>
  Date:   2024-08-15 (Thu, 15 Aug 2024)

  Changed paths:
    M llvm/include/llvm/IR/IntrinsicsBPF.td
    M llvm/include/llvm/IR/IntrinsicsLoongArch.td
    M llvm/include/llvm/IR/IntrinsicsMips.td
    M llvm/include/llvm/IR/IntrinsicsNVVM.td
    M llvm/include/llvm/IR/IntrinsicsSystemZ.td
    M llvm/include/llvm/IR/IntrinsicsVE.td
    M llvm/include/llvm/IR/IntrinsicsVEVL.gen.td
    M llvm/include/llvm/IR/IntrinsicsWebAssembly.td
    M llvm/test/CodeGen/BPF/sockex2.ll
    A llvm/test/Transforms/DCE/intrinsics-bpf.ll
    A llvm/test/Transforms/DCE/intrinsics-loongarch.ll
    A llvm/test/Transforms/DCE/intrinsics-mips.ll
    A llvm/test/Transforms/DCE/intrinsics-nvvm.ll
    A llvm/test/Transforms/DCE/intrinsics-systemz.ll
    A llvm/test/Transforms/DCE/intrinsics-ve.ll
    A llvm/test/Transforms/DCE/intrinsics-wasm.ll
    R llvm/test/Transforms/DCE/nvvm-ldu-ldg-willreturn.ll

  Log Message:
  -----------
  Update load intrinsic attributes (#101562)

This patch adds default attributes to many intrinsics and the WillReturn
attribute to some as well. The defaults include WillReturn. The WillReturn
attribute is relevant for dead code elimination as intrinsics without
WillReturn are assumed to have side effects and cannot be removed even
if their return value is unused. It is also relevant for potential
changes to SDAG behavior regarding treatment of intrinsics that function
as loads.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list