projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3f3f4d5
)
[AMDGPU] Remove unused ClangBuiltin definition for fmed3
author
Jay Foad
<jay.foad@amd.com>
Thu, 9 Feb 2023 13:57:42 +0000
(13:57 +0000)
committer
Jay 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
patch
|
blob
|
history
diff --git
a/llvm/include/llvm/IR/IntrinsicsAMDGPU.td
b/llvm/include/llvm/IR/IntrinsicsAMDGPU.td
index
365e51c
..
f82682a
100644
(file)
--- 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]