[all-commits] [llvm/llvm-project] 8c7188: Update NVVM ldu/ldg intrinsics with IntrWillReturn...

Kevin McAfee via All-commits all-commits at lists.llvm.org
Wed Jul 24 12:28:17 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8c7188aa4c1468971d18e9dff8f2b85aa7e9bfd9
      https://github.com/llvm/llvm-project/commit/8c7188aa4c1468971d18e9dff8f2b85aa7e9bfd9
  Author: Kevin McAfee <kmcafee at nvidia.com>
  Date:   2024-07-24 (Wed, 24 Jul 2024)

  Changed paths:
    M llvm/include/llvm/IR/IntrinsicsNVVM.td
    A llvm/test/Transforms/DCE/nvvm-ldu-ldg-willreturn.ll

  Log Message:
  -----------
  Update NVVM ldu/ldg intrinsics with IntrWillReturn and test for DCE (#98968)

Dead calls to these intrinsics were not being deleted at the IR level as
they were not marked `IntrWillReturn`, though they were being deleted
when building the SDAG. This fixes that and adds a test to confirm they
are deleted during `opt`



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