diff options
author | Mehdi Amini <joker.eph@gmail.com> | 2017-05-29 05:38:20 +0000 |
---|---|---|
committer | Mehdi Amini <joker.eph@gmail.com> | 2017-05-29 05:38:20 +0000 |
commit | 7a4550308bb4475544102bf06dc6b64297aaa014 (patch) | |
tree | 194bba2fe8391f1f4c47ad93402df7b4957e2b89 /test/CodeGen/arm64_vcopy.c | |
parent | 384ca6f633ff738d341efbde857d66dbb10e7ab1 (diff) | |
download | clang-7a4550308bb4475544102bf06dc6b64297aaa014.tar.gz |
IRGen: Add optnone attribute on function during O0
Amongst other, this will help LTO to correctly handle/honor files
compiled with O0, helping debugging failures.
It also seems in line with how we handle other options, like how
-fnoinline adds the appropriate attribute as well.
Differential Revision: https://reviews.llvm.org/D28404
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@304127 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/arm64_vcopy.c')
-rw-r--r-- | test/CodeGen/arm64_vcopy.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CodeGen/arm64_vcopy.c b/test/CodeGen/arm64_vcopy.c index 4c0143016f..fc2ad3746b 100644 --- a/test/CodeGen/arm64_vcopy.c +++ b/test/CodeGen/arm64_vcopy.c @@ -1,4 +1,4 @@ -// RUN: %clang_cc1 -triple arm64-apple-ios7 -target-feature +neon -ffreestanding -S -o - -emit-llvm %s | opt -S -mem2reg | FileCheck %s +// RUN: %clang_cc1 -triple arm64-apple-ios7 -target-feature +neon -ffreestanding -S -o - -disable-O0-optnone -emit-llvm %s | opt -S -mem2reg | FileCheck %s // Test ARM64 SIMD copy vector element to vector element: vcopyq_lane* |