mirror of
https://github.com/RPCSX/llvm.git
synced 2025-01-31 17:42:40 +00:00
new testcase for extractelement instruction
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25186 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
cd618ef279
commit
5e1b72c153
8
test/Feature/instructions.ll
Normal file
8
test/Feature/instructions.ll
Normal file
@ -0,0 +1,8 @@
|
||||
; RUN: llvm-as %s -o - | llvm-dis > %t1.ll
|
||||
; RUN: llvm-as %t1.ll -o - | llvm-dis > %t2.ll
|
||||
; RUN: diff %t1.ll %t2.ll
|
||||
|
||||
uint %test_extractelement(<4 x uint> %V) {
|
||||
%R = extractelement <4 x uint> %V, uint 1
|
||||
ret uint %R
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user