From df0b78da33a0e486fa892e10e2c2a0e2ed644a97 Mon Sep 17 00:00:00 2001 From: Evan Cheng Date: Sat, 24 May 2008 02:14:05 +0000 Subject: Eliminate x86.sse2.movs.d, x86.sse2.shuf.pd, x86.sse2.unpckh.pd, and x86.sse2.unpckl.pd intrinsics. These will be lowered into shuffles. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51531 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/Bitcode/sse2_movs_d.ll | 2 ++ test/Bitcode/sse2_movs_d.ll.bc | Bin 0 -> 476 bytes test/Bitcode/sse2_shuf_pd.ll | 2 ++ test/Bitcode/sse2_shuf_pd.ll.bc | Bin 0 -> 584 bytes test/Bitcode/sse2_unpck_pd.ll | 3 +++ test/Bitcode/sse2_unpck_pd.ll.bc | Bin 0 -> 572 bytes 6 files changed, 7 insertions(+) create mode 100644 test/Bitcode/sse2_movs_d.ll create mode 100644 test/Bitcode/sse2_movs_d.ll.bc create mode 100644 test/Bitcode/sse2_shuf_pd.ll create mode 100644 test/Bitcode/sse2_shuf_pd.ll.bc create mode 100644 test/Bitcode/sse2_unpck_pd.ll create mode 100644 test/Bitcode/sse2_unpck_pd.ll.bc (limited to 'test') diff --git a/test/Bitcode/sse2_movs_d.ll b/test/Bitcode/sse2_movs_d.ll new file mode 100644 index 0000000..25a35b6 --- /dev/null +++ b/test/Bitcode/sse2_movs_d.ll @@ -0,0 +1,2 @@ +; RUN: llvm-dis < %s.bc | not grep {i32 @llvm\\.movs.d} +; RUN: llvm-dis < %s.bc | grep shufflevector diff --git a/test/Bitcode/sse2_movs_d.ll.bc b/test/Bitcode/sse2_movs_d.ll.bc new file mode 100644 index 0000000..719d529 Binary files /dev/null and b/test/Bitcode/sse2_movs_d.ll.bc differ diff --git a/test/Bitcode/sse2_shuf_pd.ll b/test/Bitcode/sse2_shuf_pd.ll new file mode 100644 index 0000000..5829edb --- /dev/null +++ b/test/Bitcode/sse2_shuf_pd.ll @@ -0,0 +1,2 @@ +; RUN: llvm-dis < %s.bc | not grep {i32 @llvm\\.shuf.pd} +; RUN: llvm-dis < %s.bc | grep shufflevector diff --git a/test/Bitcode/sse2_shuf_pd.ll.bc b/test/Bitcode/sse2_shuf_pd.ll.bc new file mode 100644 index 0000000..832c39e Binary files /dev/null and b/test/Bitcode/sse2_shuf_pd.ll.bc differ diff --git a/test/Bitcode/sse2_unpck_pd.ll b/test/Bitcode/sse2_unpck_pd.ll new file mode 100644 index 0000000..f4e5d54 --- /dev/null +++ b/test/Bitcode/sse2_unpck_pd.ll @@ -0,0 +1,3 @@ +; RUN: llvm-dis < %s.bc | not grep {i32 @llvm\\.unpckh.pd} +; RUN: llvm-dis < %s.bc | not grep {i32 @llvm\\.unpckl.pd} +; RUN: llvm-dis < %s.bc | grep shufflevector diff --git a/test/Bitcode/sse2_unpck_pd.ll.bc b/test/Bitcode/sse2_unpck_pd.ll.bc new file mode 100644 index 0000000..4fb829c Binary files /dev/null and b/test/Bitcode/sse2_unpck_pd.ll.bc differ -- cgit v1.1