[llvm] a200fa0 - AMDGPU: Move intrinsic definition point
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Tue Jan 10 10:07:09 PST 2023
Author: Matt Arsenault
Date: 2023-01-10T13:07:01-05:00
New Revision: a200fa04a34535fb790b5a0496917aa4f8ef4161
URL: https://github.com/llvm/llvm-project/commit/a200fa04a34535fb790b5a0496917aa4f8ef4161
DIFF: https://github.com/llvm/llvm-project/commit/a200fa04a34535fb790b5a0496917aa4f8ef4161.diff
LOG: AMDGPU: Move intrinsic definition point
This was incorrectly listed under the block for backend internal
intrinsics only.
Added:
Modified:
llvm/include/llvm/IR/IntrinsicsAMDGPU.td
Removed:
################################################################################
diff --git a/llvm/include/llvm/IR/IntrinsicsAMDGPU.td b/llvm/include/llvm/IR/IntrinsicsAMDGPU.td
index f24bae9eaea8..e621bcd4c841 100644
--- a/llvm/include/llvm/IR/IntrinsicsAMDGPU.td
+++ b/llvm/include/llvm/IR/IntrinsicsAMDGPU.td
@@ -2432,6 +2432,12 @@ def int_amdgcn_cvt_sr_fp8_f32 : ClangBuiltin<"__builtin_amdgcn_cvt_sr_fp8_f32">,
[llvm_float_ty, llvm_i32_ty, llvm_i32_ty, llvm_i32_ty],
[IntrNoMem, ImmArg<ArgIndex<3>>]>;
+// Represent a relocation constant.
+def int_amdgcn_reloc_constant : DefaultAttrsIntrinsic<
+ [llvm_i32_ty], [llvm_metadata_ty],
+ [IntrNoMem, IntrSpeculatable]
+>;
+
//===----------------------------------------------------------------------===//
// Special Intrinsics for backend internal use only. No frontend
// should emit calls to these.
@@ -2465,10 +2471,4 @@ def int_amdgcn_fdiv_fast : DefaultAttrsIntrinsic<
[llvm_float_ty], [llvm_float_ty, llvm_float_ty],
[IntrNoMem, IntrSpeculatable]
>;
-
-// Represent a relocation constant.
-def int_amdgcn_reloc_constant : DefaultAttrsIntrinsic<
- [llvm_i32_ty], [llvm_metadata_ty],
- [IntrNoMem, IntrSpeculatable]
->;
}
More information about the llvm-commits
mailing list