@@ -42,8 +42,7 @@ func compare_eq${n}x${bits}(
4242// CHECK${arch}: compare_eq${n}x${bits}{{.*}} {
4343// CHECK${arch}: entry:
4444// CHECK${arch}: [[TMP:%[0-9]+]] = fcmp oeq <${n} x ${llvm}> %0, %1
45- // CHECK${arch}-NEXT: [[RES:%[0-9]+]] = sext <${n} x i1> [[TMP]] to <${n} x i${bits}>
46- // CHECK${arch}-NEXT: ret <${n} x i${bits}> [[RES]]
45+ // CHECK${arch}-NEXT: sext <${n} x i1> [[TMP]] to <${n} x i${bits}>
4746
4847% if bits == 16 :
4948#if arch(arm64)
@@ -60,8 +59,7 @@ func compare_ne${n}x${bits}(
6059// CHECK${arch}: compare_ne${n}x${bits}{{.*}} {
6160// CHECK${arch}: entry:
6261// CHECK${arch}: [[TMP:%[0-9]+]] = fcmp une <${n} x ${llvm}> %0, %1
63- // CHECK${arch}-NEXT: [[RES:%[0-9]+]] = sext <${n} x i1> [[TMP]] to <${n} x i${bits}>
64- // CHECK${arch}-NEXT: ret <${n} x i${bits}> [[RES]]
62+ // CHECK${arch}-NEXT: sext <${n} x i1> [[TMP]] to <${n} x i${bits}>
6563
6664% if bits == 16 :
6765#if arch(arm64)
@@ -78,8 +76,7 @@ func compare_lt${n}x${bits}(
7876// CHECK${arch}: compare_lt${n}x${bits}{{.*}} {
7977// CHECK${arch}: entry:
8078// CHECK${arch}: [[TMP:%[0-9]+]] = fcmp olt <${n} x ${llvm}> %0, %1
81- // CHECK${arch}-NEXT: [[RES:%[0-9]+]] = sext <${n} x i1> [[TMP]] to <${n} x i${bits}>
82- // CHECK${arch}-NEXT: ret <${n} x i${bits}> [[RES]]
79+ // CHECK${arch}-NEXT: sext <${n} x i1> [[TMP]] to <${n} x i${bits}>
8380
8481% if bits == 16 :
8582#if arch(arm64)
@@ -96,8 +93,7 @@ func compare_le${n}x${bits}(
9693// CHECK${arch}: compare_le${n}x${bits}{{.*}} {
9794// CHECK${arch}: entry:
9895// CHECK${arch}: [[TMP:%[0-9]+]] = fcmp ole <${n} x ${llvm}> %0, %1
99- // CHECK${arch}-NEXT: [[RES:%[0-9]+]] = sext <${n} x i1> [[TMP]] to <${n} x i${bits}>
100- // CHECK${arch}-NEXT: ret <${n} x i${bits}> [[RES]]
96+ // CHECK${arch}-NEXT: sext <${n} x i1> [[TMP]] to <${n} x i${bits}>
10197
10298% if bits == 16 :
10399#if arch(arm64)
@@ -114,8 +110,7 @@ func compare_ge${n}x${bits}(
114110// CHECK${arch}: compare_ge${n}x${bits}{{.*}} {
115111// CHECK${arch}: entry:
116112// CHECK${arch}: [[TMP:%[0-9]+]] = fcmp oge <${n} x ${llvm}> %0, %1
117- // CHECK${arch}-NEXT: [[RES:%[0-9]+]] = sext <${n} x i1> [[TMP]] to <${n} x i${bits}>
118- // CHECK${arch}-NEXT: ret <${n} x i${bits}> [[RES]]
113+ // CHECK${arch}-NEXT: sext <${n} x i1> [[TMP]] to <${n} x i${bits}>
119114
120115% if bits == 16 :
121116#if arch(arm64)
@@ -132,8 +127,7 @@ func compare_gt${n}x${bits}(
132127// CHECK${arch}: compare_gt${n}x${bits}{{.*}} {
133128// CHECK${arch}: entry:
134129// CHECK${arch}: [[TMP:%[0-9]+]] = fcmp ogt <${n} x ${llvm}> %0, %1
135- // CHECK${arch}-NEXT: [[RES:%[0-9]+]] = sext <${n} x i1> [[TMP]] to <${n} x i${bits}>
136- // CHECK${arch}-NEXT: ret <${n} x i${bits}> [[RES]]
130+ // CHECK${arch}-NEXT: sext <${n} x i1> [[TMP]] to <${n} x i${bits}>
137131
138132% end
139133% end
0 commit comments