================
@@ -68,8 +68,18 @@ define dso_local zeroext i32 @func(double noundef %0, double 
noundef %1) #0 {
   ; CHECK-LABEL:      __adddf3
 }
 
+; To check ppc_fp128 soften without crash
+define zeroext i1 @ppcf128_soften(ppc_fp128 %a) #0 {
+entry:
+  %fpclass = tail call i1 @llvm.is.fpclass.ppcf128(ppc_fp128 %a, i32 100)
+  ret i1 %fpclass
+
+  ; CHECK-LABEL: ppcf128_soften
----------------
arsenm wrote:

should check function content not just the label 

https://github.com/llvm/llvm-project/pull/77412
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to