1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 19:23:23 +01:00

added a random and mask test

llvm-svn: 21301
This commit is contained in:
Andrew Lenharth 2005-04-14 16:17:49 +00:00
parent 0c40c548c0
commit 41c4b9c268

View File

@ -0,0 +1,10 @@
; Make sure this testcase codegens to the zapnot instruction
; RUN: llvm-as < %s | llc -march=alpha | grep 'zapnot'
implementation ; Functions:
long %bar(long %x) {
entry:
%tmp.1 = and long %x, 255 ; <long> [#uses=1]
ret long %tmp.2
}