[llvm] [Legalizer] Soften EXTRACT_ELEMENT on ppcf128 (PR #77412)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 8 22:20:06 PST 2024


================
@@ -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:
+  %0 = tail call i1 @llvm.is.fpclass.ppcf128(ppc_fp128 %a, i32 100)
----------------
arsenm wrote:

Avoid anonymous values in tests 

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


More information about the llvm-commits mailing list