mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 20:32:21 +00:00
add a trivial test that vector compares work.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74963 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
0a6c2d8dea
commit
cb178c61e4
7
test/CodeGen/X86/vec_compare.ll
Normal file
7
test/CodeGen/X86/vec_compare.ll
Normal file
@ -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
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user