summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGen/arm-neon-numeric-maxmin.c
diff options
context:
space:
mode:
authorMehdi Amini <joker.eph@gmail.com>2017-05-29 05:38:20 +0000
committerMehdi Amini <joker.eph@gmail.com>2017-05-29 05:38:20 +0000
commit6aa9e9b41a578cc086684d76e70660dfb162d421 (patch)
tree09d187acc014aebd92a2972841fb43612adbb37d /clang/test/CodeGen/arm-neon-numeric-maxmin.c
parente161ced16aff690f990be0729019c7aa2cd55eb6 (diff)
downloadbcm5719-llvm-6aa9e9b41a578cc086684d76e70660dfb162d421.tar.gz
bcm5719-llvm-6aa9e9b41a578cc086684d76e70660dfb162d421.zip
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 llvm-svn: 304127
Diffstat (limited to 'clang/test/CodeGen/arm-neon-numeric-maxmin.c')
-rw-r--r--clang/test/CodeGen/arm-neon-numeric-maxmin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/CodeGen/arm-neon-numeric-maxmin.c b/clang/test/CodeGen/arm-neon-numeric-maxmin.c
index 38f020a756d..d4f5674cd93 100644
--- a/clang/test/CodeGen/arm-neon-numeric-maxmin.c
+++ b/clang/test/CodeGen/arm-neon-numeric-maxmin.c
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -triple thumbv8-linux-gnueabihf -target-cpu cortex-a57 -ffreestanding -emit-llvm %s -o - | opt -S -mem2reg | FileCheck %s
+// RUN: %clang_cc1 -triple thumbv8-linux-gnueabihf -target-cpu cortex-a57 -ffreestanding -disable-O0-optnone -emit-llvm %s -o - | opt -S -mem2reg | FileCheck %s
#include <arm_neon.h>
OpenPOWER on IntegriCloud