ychen updated this revision to Diff 407308. ychen added a comment. - add ARM64 tests
Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D119301/new/ https://reviews.llvm.org/D119301 Files: clang/test/Sema/test-wunaligned-access.c clang/test/Sema/test-wunaligned-access.cpp Index: clang/test/Sema/test-wunaligned-access.cpp =================================================================== --- clang/test/Sema/test-wunaligned-access.cpp +++ clang/test/Sema/test-wunaligned-access.cpp @@ -1,4 +1,5 @@ // RUN: %clang_cc1 %s -triple=armv7-none-none-eabi -verify -Wunaligned-access -S -emit-llvm -o %t +// RUN: %clang_cc1 %s -triple=armv8-none-none-eabi -verify -Wunaligned-access -S -emit-llvm -o %t // REQUIRES: arm-registered-target // // This test suite tests the warning triggered by the -Wunaligned-access option. @@ -271,4 +272,4 @@ struct U21 s21; struct U22 s22; struct U23 s23; -struct U24 s24; \ No newline at end of file +struct U24 s24; Index: clang/test/Sema/test-wunaligned-access.c =================================================================== --- clang/test/Sema/test-wunaligned-access.c +++ clang/test/Sema/test-wunaligned-access.c @@ -2,6 +2,7 @@ // RUN: rm -f %S/test-wunaligned-access.ll // RUN: %clang_cc1 %s -triple=armv7-none-none-eabi -verify -Wunaligned-access -S -emit-llvm -o %t +// RUN: %clang_cc1 %s -triple=armv8-none-none-eabi -verify -Wunaligned-access -S -emit-llvm -o %t // REQUIRES: arm-registered-target // // This test suite tests the warning triggered by the -Wunaligned-access option.
Index: clang/test/Sema/test-wunaligned-access.cpp =================================================================== --- clang/test/Sema/test-wunaligned-access.cpp +++ clang/test/Sema/test-wunaligned-access.cpp @@ -1,4 +1,5 @@ // RUN: %clang_cc1 %s -triple=armv7-none-none-eabi -verify -Wunaligned-access -S -emit-llvm -o %t +// RUN: %clang_cc1 %s -triple=armv8-none-none-eabi -verify -Wunaligned-access -S -emit-llvm -o %t // REQUIRES: arm-registered-target // // This test suite tests the warning triggered by the -Wunaligned-access option. @@ -271,4 +272,4 @@ struct U21 s21; struct U22 s22; struct U23 s23; -struct U24 s24; \ No newline at end of file +struct U24 s24; Index: clang/test/Sema/test-wunaligned-access.c =================================================================== --- clang/test/Sema/test-wunaligned-access.c +++ clang/test/Sema/test-wunaligned-access.c @@ -2,6 +2,7 @@ // RUN: rm -f %S/test-wunaligned-access.ll // RUN: %clang_cc1 %s -triple=armv7-none-none-eabi -verify -Wunaligned-access -S -emit-llvm -o %t +// RUN: %clang_cc1 %s -triple=armv8-none-none-eabi -verify -Wunaligned-access -S -emit-llvm -o %t // REQUIRES: arm-registered-target // // This test suite tests the warning triggered by the -Wunaligned-access option.
_______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits