@@ -52,16 +52,16 @@ entry:
5252}
5353
5454; Test multiple fp.control bundles.
55- ; CHECK-NEXT: Multiple fp.control operand bundles
55+ ; CHECK-NEXT: Multiple " fp.control" operand bundles
5656; CHECK-NEXT: %ftrunc = call double @llvm.trunc.f64(double %a) #{{[0-9]+}} [ "fp.control"(metadata !"rtz"), "fp.control"(metadata !"rtz") ]
5757define double @f6 (double %a ) #0 {
5858entry:
5959 %ftrunc = call double @llvm.trunc.f64 (double %a ) #0 [ "fp.control" (metadata !"rtz" ), "fp.control" (metadata !"rtz" ) ]
6060 ret double %ftrunc
6161}
6262
63- ; Test fp.control bundle that has more than one operands .
64- ; CHECK-NEXT: Expected exactly one fp.control bundle operand
63+ ; Test fp.control bundle that has more than one rounding mode specification .
64+ ; CHECK-NEXT: Rounding mode is specified more that once
6565; CHECK-NEXT: %ftrunc = call double @llvm.trunc.f64(double %a) #{{[0-9]+}} [ "fp.control"(metadata !"rtz", metadata !"rte") ]
6666define double @f7 (double %a ) #0 {
6767entry:
7070}
7171
7272; Test fp.control bundle that has non-metadata operand.
73- ; CHECK-NEXT: Value of fp.control bundle operand must be a metadata
73+ ; CHECK-NEXT: Value of a " fp.control" bundle operand must be a metadata
7474; CHECK-NEXT: %ftrunc = call double @llvm.trunc.f64(double %a) #{{[0-9]+}} [ "fp.control"(i32 0) ]
7575define double @f8 (double %a ) #0 {
7676entry:
7979}
8080
8181; Test fp.control bundle that has non-string operand.
82- ; CHECK-NEXT: Value of fp.control bundle operand must be a string
82+ ; CHECK-NEXT: Value of a " fp.control" bundle operand must be a string
8383; CHECK-NEXT: %ftrunc = call double @llvm.trunc.f64(double %a) #{{[0-9]+}} [ "fp.control"(metadata i64 3) ]
8484define double @f9 (double %a ) #0 {
8585entry:
8888}
8989
9090; Test fp.control bundle that specifies incorrect value.
91- ; CHECK-NEXT: Value of fp.control bundle operand is not a correct rounding mode
91+ ; CHECK-NEXT: Unrecognized value in " fp.control" bundle operand
9292; CHECK-NEXT: %ftrunc = call double @llvm.trunc.f64(double %a) #{{[0-9]+}} [ "fp.control"(metadata !"qqq") ]
9393define double @f10 (double %a ) #0 {
9494entry:
9797}
9898
9999; Test multiple fp.except bundles.
100- ; CHECK-NEXT: Multiple fp.except operand bundles
100+ ; CHECK-NEXT: Multiple " fp.except" operand bundles
101101; CHECK-NEXT: %ftrunc = call double @llvm.trunc.f64(double %a) #{{[0-9]+}} [ "fp.except"(metadata !"strict"), "fp.except"(metadata !"strict") ]
102102define double @f11 (double %a ) #0 {
103103entry:
@@ -106,7 +106,7 @@ entry:
106106}
107107
108108; Test fp.except bundle that has more than one operands.
109- ; CHECK-NEXT: Expected exactly one fp.except bundle operand
109+ ; CHECK-NEXT: Expected exactly one " fp.except" bundle operand
110110; CHECK-NEXT: %ftrunc = call double @llvm.trunc.f64(double %a) #{{[0-9]+}} [ "fp.except"(metadata !"strict", metadata !"strict") ]
111111define double @f12 (double %a ) #0 {
112112entry:
@@ -115,7 +115,7 @@ entry:
115115}
116116
117117; Test fp.except bundle that has non-metadata operand.
118- ; CHECK-NEXT: Value of fp.except bundle operand must be a metadata
118+ ; CHECK-NEXT: Value of a " fp.except" bundle operand must be a metadata
119119; CHECK-NEXT: %ftrunc = call double @llvm.trunc.f64(double %a) #{{[0-9]+}} [ "fp.except"(i32 0) ]
120120define double @f13 (double %a ) #0 {
121121entry:
@@ -124,7 +124,7 @@ entry:
124124}
125125
126126; Test fp.except bundle that has non-string operand.
127- ; CHECK-NEXT: Value of fp.except bundle operand must be a string
127+ ; CHECK-NEXT: Value of a " fp.except" bundle operand must be a string
128128; CHECK-NEXT: %ftrunc = call double @llvm.trunc.f64(double %a) #{{[0-9]+}} [ "fp.except"(metadata i64 3) ]
129129define double @f14 (double %a ) #0 {
130130entry:
@@ -133,7 +133,7 @@ entry:
133133}
134134
135135; Test fp.except bundle that specifies incorrect value.
136- ; CHECK-NEXT: Value of fp.except bundle operand is not a correct exception behavior
136+ ; CHECK-NEXT: Value of a " fp.except" bundle operand is not a correct exception behavior
137137; CHECK-NEXT: %ftrunc = call double @llvm.trunc.f64(double %a) #{{[0-9]+}} [ "fp.except"(metadata !"qqq") ]
138138define double @f15 (double %a ) #0 {
139139entry:
0 commit comments