diff options
author | Matt Beaumont-Gay <matthewbg@google.com> | 2012-01-27 02:31:29 +0000 |
---|---|---|
committer | Matt Beaumont-Gay <matthewbg@google.com> | 2012-01-27 02:31:29 +0000 |
commit | f3a9a38db4b288c82681e8ce1955f38b9f1f5f8f (patch) | |
tree | e766daee435d1d639081bb8b0d06b72bf889588a /llvm/test/CodeGen/X86/avx-fp2int.ll | |
parent | 7717e9f4ae48ffd63144f632597997a34d70bb19 (diff) | |
download | bcm5719-llvm-f3a9a38db4b288c82681e8ce1955f38b9f1f5f8f.tar.gz bcm5719-llvm-f3a9a38db4b288c82681e8ce1955f38b9f1f5f8f.zip |
Unix line endings
llvm-svn: 149115
Diffstat (limited to 'llvm/test/CodeGen/X86/avx-fp2int.ll')
-rwxr-xr-x | llvm/test/CodeGen/X86/avx-fp2int.ll | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/llvm/test/CodeGen/X86/avx-fp2int.ll b/llvm/test/CodeGen/X86/avx-fp2int.ll index 9e505bd1568..a3aadde2bdd 100755 --- a/llvm/test/CodeGen/X86/avx-fp2int.ll +++ b/llvm/test/CodeGen/X86/avx-fp2int.ll @@ -1,19 +1,19 @@ -; RUN: llc < %s -mtriple=i386-apple-darwin10 -mcpu=corei7-avx -mattr=+avx | FileCheck %s
-
-;; Check that FP_TO_SINT and FP_TO_UINT generate convert with truncate
-
-; CHECK: test1:
-; CHECK: vcvttpd2dqy
-; CHECK: ret
-; CHECK: test2:
-; CHECK: vcvttpd2dqy
-; CHECK: ret
-
-define <4 x i8> @test1(<4 x double> %d) {
- %c = fptoui <4 x double> %d to <4 x i8>
- ret <4 x i8> %c
-}
-define <4 x i8> @test2(<4 x double> %d) {
- %c = fptosi <4 x double> %d to <4 x i8>
- ret <4 x i8> %c
-}
+; RUN: llc < %s -mtriple=i386-apple-darwin10 -mcpu=corei7-avx -mattr=+avx | FileCheck %s + +;; Check that FP_TO_SINT and FP_TO_UINT generate convert with truncate + +; CHECK: test1: +; CHECK: vcvttpd2dqy +; CHECK: ret +; CHECK: test2: +; CHECK: vcvttpd2dqy +; CHECK: ret + +define <4 x i8> @test1(<4 x double> %d) { + %c = fptoui <4 x double> %d to <4 x i8> + ret <4 x i8> %c +} +define <4 x i8> @test2(<4 x double> %d) { + %c = fptosi <4 x double> %d to <4 x i8> + ret <4 x i8> %c +} |