[llvm] 52b3c36 - [NFC][DirectX] Remove rcp dx intrinsic (#108626)
via llvm-commits
llvm-commits at lists.llvm.org
Fri Sep 13 18:12:46 PDT 2024
Author: Farzon Lotfi
Date: 2024-09-13T21:12:43-04:00
New Revision: 52b3c360c1cf69c48ba182b833045237af5955c0
URL: https://github.com/llvm/llvm-project/commit/52b3c360c1cf69c48ba182b833045237af5955c0
DIFF: https://github.com/llvm/llvm-project/commit/52b3c360c1cf69c48ba182b833045237af5955c0.diff
LOG: [NFC][DirectX] Remove rcp dx intrinsic (#108626)
The code that used the rcp intrinsic was replaced. This change removes
an unused intrinsic.
Added:
Modified:
llvm/include/llvm/IR/IntrinsicsDirectX.td
Removed:
################################################################################
diff --git a/llvm/include/llvm/IR/IntrinsicsDirectX.td b/llvm/include/llvm/IR/IntrinsicsDirectX.td
index 97c69638fbb0ef..bacbbe0e69c9f2 100644
--- a/llvm/include/llvm/IR/IntrinsicsDirectX.td
+++ b/llvm/include/llvm/IR/IntrinsicsDirectX.td
@@ -85,7 +85,6 @@ def int_dx_length : DefaultAttrsIntrinsic<[LLVMVectorElementType<0>], [llvm_anyf
def int_dx_imad : DefaultAttrsIntrinsic<[llvm_anyint_ty], [LLVMMatchType<0>, LLVMMatchType<0>, LLVMMatchType<0>]>;
def int_dx_umad : DefaultAttrsIntrinsic<[llvm_anyint_ty], [LLVMMatchType<0>, LLVMMatchType<0>, LLVMMatchType<0>]>;
def int_dx_normalize : DefaultAttrsIntrinsic<[LLVMMatchType<0>], [llvm_anyfloat_ty]>;
-def int_dx_rcp : DefaultAttrsIntrinsic<[llvm_anyfloat_ty], [LLVMMatchType<0>]>;
def int_dx_rsqrt : DefaultAttrsIntrinsic<[llvm_anyfloat_ty], [LLVMMatchType<0>]>;
def int_dx_wave_is_first_lane : DefaultAttrsIntrinsic<[llvm_i1_ty], [], [IntrConvergent]>;
def int_dx_sign : DefaultAttrsIntrinsic<[LLVMScalarOrSameVectorWidth<0, llvm_i32_ty>], [llvm_any_ty]>;
More information about the llvm-commits
mailing list