[llvm] [DirectX] Remove rcp dx intrinsic (PR #108626)
Farzon Lotfi via llvm-commits
llvm-commits at lists.llvm.org
Fri Sep 13 11:56:23 PDT 2024
https://github.com/farzonl created https://github.com/llvm/llvm-project/pull/108626
The code that used the rcp intrinsic was replaced. This change removes an unused intrinsic.
>From 549a0a079332adeef6b69780ab61212d60da32c0 Mon Sep 17 00:00:00 2001
From: Farzon Lotfi <1802579+farzonl at users.noreply.github.com>
Date: Fri, 13 Sep 2024 14:55:04 -0400
Subject: [PATCH] [DirectX] Remove rcp dx intrinsic
The code that used the rcp intrinsic was replaced. This change removes an unused intrinsic.
---
llvm/include/llvm/IR/IntrinsicsDirectX.td | 1 -
1 file changed, 1 deletion(-)
diff --git a/llvm/include/llvm/IR/IntrinsicsDirectX.td b/llvm/include/llvm/IR/IntrinsicsDirectX.td
index f1017bdd512496..0cbff019829693 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]>;
More information about the llvm-commits
mailing list