Skip to content

Commit 95cc8c5

Browse files
committed
Put back predres and ls64
1 parent 1611549 commit 95cc8c5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

clang/test/CodeGen/AArch64/cpu-supports-target.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -91,8 +91,8 @@
9191
// CHECK-NEXT: br label %[[RETURN]]
9292
// CHECK: [[IF_ELSE16]]:
9393
// CHECK-NEXT: [[TMP36:%.*]] = load i64, ptr @__aarch64_cpu_features, align 8
94-
// CHECK-NEXT: [[TMP37:%.*]] = and i64 [[TMP36]], 1688849860263936
95-
// CHECK-NEXT: [[TMP38:%.*]] = icmp eq i64 [[TMP37]], 1688849860263936
94+
// CHECK-NEXT: [[TMP37:%.*]] = and i64 [[TMP36]], 10836786603360256
95+
// CHECK-NEXT: [[TMP38:%.*]] = icmp eq i64 [[TMP37]], 10836786603360256
9696
// CHECK-NEXT: [[TMP39:%.*]] = and i1 true, [[TMP38]]
9797
// CHECK-NEXT: br i1 [[TMP39]], label %[[IF_THEN17:.*]], label %[[IF_ELSE18:.*]]
9898
// CHECK: [[IF_THEN17]]:
@@ -142,7 +142,7 @@ int check_all_features() {
142142
return 8;
143143
else if (__builtin_cpu_supports("sme+memtag+sb"))
144144
return 9;
145-
else if (__builtin_cpu_supports("ssbs+bti"))
145+
else if (__builtin_cpu_supports("predres+ssbs+bti+ls64"))
146146
return 10;
147147
else if (__builtin_cpu_supports("wfxt+sme-f64f64"))
148148
return 11;

0 commit comments

Comments
 (0)