Skip to content

Commit 402ff5a

Browse files
committed
Update test files for load and store with allign
1 parent eb000ef commit 402ff5a

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

clang/test/CIR/CodeGen/vector-ext.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -990,6 +990,7 @@ void foo14() {
990990
// OGCG: %[[TMP_B:.*]] = load <4 x float>, ptr %[[VEC_B]], align 16
991991
// OGCG: %[[GE:.*]] = fcmp oge <4 x float> %[[TMP_A]], %[[TMP_B]]
992992
// OGCG: %[[RES:.*]] = sext <4 x i1> %[[GE]] to <4 x i32>
993+
// OGCG: store <4 x i32> %[[RES]], ptr {{.*}}, align 16
993994

994995
void foo15() {
995996
vi4 a;
@@ -1153,4 +1154,4 @@ void foo18() {
11531154
// OGCG: store <4 x i32> <i32 1, i32 2, i32 3, i32 4>, ptr %[[VEC_B]], align 16
11541155
// OGCG: %[[TMP_B:.*]] = load <4 x i32>, ptr %[[VEC_B]], align 16
11551156
// OGCG: %[[SHR:.*]] = lshr <4 x i32> %[[TMP_B]], splat (i32 3)
1156-
// OGCG: store <4 x i32> %[[SHR]], ptr %[[SHR_RES]], align 16
1157+
// OGCG: store <4 x i32> %[[SHR]], ptr %[[SHR_RES]], align 16

clang/test/CIR/CodeGen/vector.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1132,4 +1132,4 @@ void foo18() {
11321132
// OGCG: store <4 x i32> <i32 1, i32 2, i32 3, i32 4>, ptr %[[VEC_B]], align 16
11331133
// OGCG: %[[TMP_B:.*]] = load <4 x i32>, ptr %[[VEC_B]], align 16
11341134
// OGCG: %[[SHR:.*]] = lshr <4 x i32> %[[TMP_B]], splat (i32 3)
1135-
// OGCG: store <4 x i32> %[[SHR]], ptr %[[SHR_RES]], align 16
1135+
// OGCG: store <4 x i32> %[[SHR]], ptr %[[SHR_RES]], align 16

0 commit comments

Comments
 (0)