[llvm] 7b4f361 - [AMDGPU] Remove unused ClangBuiltin definition for fmed3

Jay Foad via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 9 06:11:19 PST 2023


Author: Jay Foad
Date: 2023-02-09T14:11:11Z
New Revision: 7b4f361e56d2953f36e7be4302812b6d3c8e2f75

URL: https://github.com/llvm/llvm-project/commit/7b4f361e56d2953f36e7be4302812b6d3c8e2f75
DIFF: https://github.com/llvm/llvm-project/commit/7b4f361e56d2953f36e7be4302812b6d3c8e2f75.diff

LOG: [AMDGPU] Remove unused ClangBuiltin definition for fmed3

__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

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 365e51c1bd224..f82682aff7c4d 100644
--- a/llvm/include/llvm/IR/IntrinsicsAMDGPU.td
+++ b/llvm/include/llvm/IR/IntrinsicsAMDGPU.td
@@ -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]


        


More information about the llvm-commits mailing list