[llvm] [FunctionAttrs] Improve handling of alias-preserving intrinsic calls (PR #68453)

Nikita Popov via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 19 01:43:48 PDT 2023


================
@@ -0,0 +1,47 @@
+; NOTE: Assertions have been autogenerated by utils/update_test_checks.py UTC_ARGS: --function-signature --check-attributes
+; RUN: opt -passes=function-attrs -S < %s | FileCheck --check-prefixes=COMMON,FNATTRS %s
+; RUN: opt -passes=attributor-light -S < %s | FileCheck --check-prefixes=COMMON,ATTRIBUTOR %s
+
+target triple = "amdgcn-amd-amdhsa"
----------------
nikic wrote:

Is this (and the target-specific directory) needed? Intrinsics generally don't depend on availability of the target.

https://github.com/llvm/llvm-project/pull/68453


More information about the llvm-commits mailing list