[llvm] [Test] Fix usage of constrained intrinsics (PR #113523)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Sat Oct 26 20:03:49 PDT 2024
================
@@ -246,8 +246,8 @@ define i1 @multiple_fcmp(double %a, double %b) #0 {
; CHECK-NEXT: [[TMP3:%.*]] = call i32 @bar.i32(i32 [[TMP2]], i32 [[TMP2]]) #[[ATTR0]]
; CHECK-NEXT: ret i1 [[TMP1]]
;
- %1 = call i1 @llvm.experimental.constrained.fcmp.i1.f64(double %a, double %b, metadata !"oeq", metadata !"fpexcept.ignore") #0
- %2 = call i1 @llvm.experimental.constrained.fcmp.i1.f64(double %a, double %b, metadata !"oeq", metadata !"fpexcept.ignore") #0
+ %1 = call i1 @llvm.experimental.constrained.fcmp.f64(double %a, double %b, metadata !"oeq", metadata !"fpexcept.ignore") #0
----------------
arsenm wrote:
Doesn't this still canonically have the i1 output? Or is the vector case sufficiently constrained and understood that the number of elements must match?
https://github.com/llvm/llvm-project/pull/113523
More information about the llvm-commits
mailing list