[llvm] R600: Expand is_fpclass (PR #135234)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 10 13:27:37 PDT 2025


================
@@ -100,6 +100,11 @@ R600TargetLowering::R600TargetLowering(const TargetMachine &TM,
 
   setOperationAction(ISD::FSUB, MVT::f32, Expand);
 
+  setOperationAction(ISD::IS_FPCLASS,
+                     {MVT::f32, MVT::v2f32, MVT::v3f32, MVT::v4f32, MVT::v5f32,
----------------
arsenm wrote:

Technically only need to set this for the minimum set of legal types, but it doesn't hurt to set it on illegal types that already defaulted to expand 

https://github.com/llvm/llvm-project/pull/135234


More information about the llvm-commits mailing list