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

David Green via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 25 10:36:11 PST 2025


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

These 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.

>From b1d43327ce6f2a8ed0b81651a613d1c3230a93a4 Mon Sep 17 00:00:00 2001
From: David Green <david.green at arm.com>
Date: Tue, 25 Nov 2025 18:34:09 +0000
Subject: [PATCH] [AArch64] Remove unused references to f80.

These 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.
---
 llvm/lib/Target/AArch64/AArch64ISelLowering.cpp | 2 --
 1 file changed, 2 deletions(-)

diff --git a/llvm/lib/Target/AArch64/AArch64ISelLowering.cpp b/llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
index e91f5a877b35b..2c40966bfa65d 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);
 
@@ -1064,7 +1063,6 @@ AArch64TargetLowering::AArch64TargetLowering(const TargetMachine &TM,
     setLoadExtAction(ISD::EXTLOAD, VT, MVT::f16, Expand);
     setLoadExtAction(ISD::EXTLOAD, VT, MVT::f32, Expand);
     setLoadExtAction(ISD::EXTLOAD, VT, MVT::f64, Expand);
-    setLoadExtAction(ISD::EXTLOAD, VT, MVT::f80, Expand);
   }
   for (MVT VT : MVT::integer_valuetypes())
     setLoadExtAction(ISD::SEXTLOAD, VT, MVT::i1, Expand);



More information about the llvm-commits mailing list