[AMDGPU] Remove unused ClangBuiltin definition for fmed3
authorJay Foad <jay.foad@amd.com>
Thu, 9 Feb 2023 13:57:42 +0000 (13:57 +0000)
committerJay Foad <jay.foad@amd.com>
Thu, 9 Feb 2023 14:11:11 +0000 (14:11 +0000)
__builtin_amdgcn_fmed3 is unused since the actual builtins are
defined by Clang and have a floating point type suffix, h or f.

Differential Revision: https://reviews.llvm.org/D143643

llvm/include/llvm/IR/IntrinsicsAMDGPU.td

index 365e51c..f82682a 100644 (file)
@@ -400,7 +400,7 @@ def int_amdgcn_class : DefaultAttrsIntrinsic<
   [IntrNoMem, IntrSpeculatable]
 >;
 
-def int_amdgcn_fmed3 : ClangBuiltin<"__builtin_amdgcn_fmed3">,
+def int_amdgcn_fmed3 :
   DefaultAttrsIntrinsic<[llvm_anyfloat_ty],
     [LLVMMatchType<0>, LLVMMatchType<0>, LLVMMatchType<0>],
     [IntrNoMem, IntrSpeculatable]