[PATCH] D119301: [AArch64][ARM] add -Wunaligned-access only for clang
Yuanfang Chen via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Feb 9 14:53:36 PST 2022
ychen updated this revision to Diff 407313.
ychen added a comment.
- update
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,5 +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
+// RUN: %clang_cc1 %s -triple=arm64-none-linux-gnu -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.c
===================================================================
--- clang/test/Sema/test-wunaligned-access.c
+++ clang/test/Sema/test-wunaligned-access.c
@@ -2,7 +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
+// RUN: %clang_cc1 %s -triple=arm64-none-linux-gnu -verify -Wunaligned-access -S -emit-llvm -o %t
// REQUIRES: arm-registered-target
//
// This test suite tests the warning triggered by the -Wunaligned-access option.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D119301.407313.patch
Type: text/x-patch
Size: 1334 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220209/2e4b27e6/attachment.bin>
More information about the cfe-commits
mailing list