@@ -199,6 +199,11 @@ def int_amdgcn_wavefrontsize :
199
199
ClangBuiltin<"__builtin_amdgcn_wavefrontsize">,
200
200
DefaultAttrsIntrinsic<[llvm_i32_ty], [], [IntrNoMem, IntrSpeculatable]>;
201
201
202
+ // Represent a relocation constant.
203
+ def int_amdgcn_reloc_constant : DefaultAttrsIntrinsic<
204
+ [llvm_i32_ty], [llvm_metadata_ty],
205
+ [IntrNoMem, IntrSpeculatable]
206
+ >;
202
207
203
208
//===----------------------------------------------------------------------===//
204
209
// Instruction Intrinsics
@@ -2776,12 +2781,6 @@ def int_amdgcn_cvt_sr_fp8_f32 : ClangBuiltin<"__builtin_amdgcn_cvt_sr_fp8_f32">,
2776
2781
[llvm_float_ty, llvm_i32_ty, llvm_i32_ty, llvm_i32_ty],
2777
2782
[IntrNoMem, ImmArg<ArgIndex<3>>]>;
2778
2783
2779
- // Represent a relocation constant.
2780
- def int_amdgcn_reloc_constant : DefaultAttrsIntrinsic<
2781
- [llvm_i32_ty], [llvm_metadata_ty],
2782
- [IntrNoMem, IntrSpeculatable]
2783
- >;
2784
-
2785
2784
//===----------------------------------------------------------------------===//
2786
2785
// Special Intrinsics for backend internal use only. No frontend
2787
2786
// should emit calls to these.
0 commit comments