[llvm] [AArch64] Remove unused references to MVT::f80. (PR #169545)

David Green via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 27 08:31:20 PST 2025


https://github.com/davemgreen updated https://github.com/llvm/llvm-project/pull/169545

>From c49510bfff7cb8e72927029d9eacafcdb8106322 Mon Sep 17 00:00:00 2001
From: David Green <david.green at arm.com>
Date: Thu, 27 Nov 2025 16:31:05 +0000
Subject: [PATCH] [AArch64] Remove unused references to frem f80.

The f80 fp types are only supported on X86 and can be removed from AArch64.
It looks like they were copied from another backend by mistake. There is
another reference to f80 for EXTLOAD, but that is apparently used for
legalizing constants to the correct types.
---
 llvm/lib/Target/AArch64/AArch64ISelLowering.cpp | 1 -
 1 file changed, 1 deletion(-)

diff --git a/llvm/lib/Target/AArch64/AArch64ISelLowering.cpp b/llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
index dd70d729ffc91..5a747e3ab0857 100644
--- a/llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
+++ b/llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
@@ -530,7 +530,6 @@ AArch64TargetLowering::AArch64TargetLowering(const TargetMachine &TM,
 
   setOperationAction(ISD::FREM, MVT::f32, Expand);
   setOperationAction(ISD::FREM, MVT::f64, Expand);
-  setOperationAction(ISD::FREM, MVT::f80, Expand);
 
   setOperationAction(ISD::BUILD_PAIR, MVT::i64, Expand);
 



More information about the llvm-commits mailing list