diff options
author | David Goodwin <david_goodwin@apple.com> | 2009-10-01 22:19:57 +0000 |
---|---|---|
committer | David Goodwin <david_goodwin@apple.com> | 2009-10-01 22:19:57 +0000 |
commit | 1cc6dd97dac3da3605aa5e71362f24e9a6c10db5 (patch) | |
tree | 1dde36065d9ccc44394dde8f5694bf7e7eb67b5b /llvm/test/CodeGen/ARM/fnegs.ll | |
parent | a0f91ad59c4be3bc6425d74da768e51a603c43a9 (diff) | |
download | bcm5719-llvm-1cc6dd97dac3da3605aa5e71362f24e9a6c10db5.tar.gz bcm5719-llvm-1cc6dd97dac3da3605aa5e71362f24e9a6c10db5.zip |
Remove neonfp attribute and instead set default based on CPU string. Add -arm-use-neon-fp to override the default.
llvm-svn: 83218
Diffstat (limited to 'llvm/test/CodeGen/ARM/fnegs.ll')
-rw-r--r-- | llvm/test/CodeGen/ARM/fnegs.ll | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/test/CodeGen/ARM/fnegs.ll b/llvm/test/CodeGen/ARM/fnegs.ll index f9d1e99e4e7..7da443dd93f 100644 --- a/llvm/test/CodeGen/ARM/fnegs.ll +++ b/llvm/test/CodeGen/ARM/fnegs.ll @@ -1,6 +1,6 @@ ; RUN: llc < %s -march=arm -mattr=+vfp2 | grep -E {fnegs\\W*s\[0-9\]+,\\W*s\[0-9\]+} | count 2 -; RUN: llc < %s -march=arm -mattr=+neon,+neonfp | grep -E {vneg.f32\\W*d\[0-9\]+,\\W*d\[0-9\]+} | count 2 -; RUN: llc < %s -march=arm -mattr=+neon,-neonfp | grep -E {fnegs\\W*s\[0-9\]+,\\W*s\[0-9\]+} | count 2 +; RUN: llc < %s -march=arm -mattr=+neon -arm-use-neon-fp=1 | grep -E {vneg.f32\\W*d\[0-9\]+,\\W*d\[0-9\]+} | count 2 +; RUN: llc < %s -march=arm -mattr=+neon -arm-use-neon-fp=0 | grep -E {fnegs\\W*s\[0-9\]+,\\W*s\[0-9\]+} | count 2 ; RUN: llc < %s -march=arm -mcpu=cortex-a8 | grep -E {vneg.f32\\W*d\[0-9\]+,\\W*d\[0-9\]+} | count 2 ; RUN: llc < %s -march=arm -mcpu=cortex-a9 | grep -E {fnegs\\W*s\[0-9\]+,\\W*s\[0-9\]+} | count 2 |