Skip to content

Commit 8166055

Browse files
committed
[NFC][Clang] Update CHECK due to align attr in llvm.masked.load/store
1 parent 7b5f058 commit 8166055

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

clang/test/CodeGen/X86/x86-builtins-intrinsic-opaqueptr.cl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ typedef int __v16si __attribute__((__vector_size__(64)));
1818
// CHECK-NEXT: [[TMP2:%.*]] = load i16, ptr [[__U_ADDR]], align 2
1919
// CHECK-NEXT: [[TMP3:%.*]] = addrspacecast ptr addrspace(4) [[TMP0]] to ptr
2020
// CHECK-NEXT: [[TMP4:%.*]] = bitcast i16 [[TMP2]] to <16 x i1>
21-
// CHECK-NEXT: [[TMP5:%.*]] = call <16 x i32> @llvm.masked.load.v16i32.p0(ptr [[TMP3]], i32 1, <16 x i1> [[TMP4]], <16 x i32> [[TMP1]])
21+
// CHECK-NEXT: [[TMP5:%.*]] = call <16 x i32> @llvm.masked.load.v16i32.p0(ptr align 1 [[TMP3]], <16 x i1> [[TMP4]], <16 x i32> [[TMP1]])
2222
// CHECK-NEXT: ret void
2323
//
2424
void load(unsigned short __U, void const *__P) {
@@ -39,7 +39,7 @@ void load(unsigned short __U, void const *__P) {
3939
// CHECK-NEXT: [[TMP2:%.*]] = load i16, ptr [[__U_ADDR]], align 2
4040
// CHECK-NEXT: [[TMP3:%.*]] = addrspacecast ptr addrspace(4) [[TMP0]] to ptr
4141
// CHECK-NEXT: [[TMP4:%.*]] = bitcast i16 [[TMP2]] to <16 x i1>
42-
// CHECK-NEXT: call void @llvm.masked.store.v16i32.p0(<16 x i32> [[TMP1]], ptr [[TMP3]], i32 1, <16 x i1> [[TMP4]])
42+
// CHECK-NEXT: call void @llvm.masked.store.v16i32.p0(<16 x i32> [[TMP1]], ptr align 1 [[TMP3]], <16 x i1> [[TMP4]])
4343
// CHECK-NEXT: ret void
4444
//
4545
void store(unsigned short __U, void const *__P) {

0 commit comments

Comments
 (0)