diff options
Diffstat (limited to 'llvm/test/CodeGen/X86/vec_compare.ll')
| -rw-r--r-- | llvm/test/CodeGen/X86/vec_compare.ll | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/llvm/test/CodeGen/X86/vec_compare.ll b/llvm/test/CodeGen/X86/vec_compare.ll new file mode 100644 index 00000000000..87d530dc1be --- /dev/null +++ b/llvm/test/CodeGen/X86/vec_compare.ll @@ -0,0 +1,7 @@ +; RUN: llvm-as < %s | llc -march=x86 -mcpu=yonah | grep pcmpgtd + +define <4 x i32> @test(<4 x i32> %A, <4 x i32> %B) nounwind { + %C = vicmp sgt <4 x i32> %A, %B + ret <4 x i32> %C +} + |

