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

New testcase

llvm-svn: 8391
This commit is contained in:
Chris Lattner 2003-09-08 17:43:36 +00:00
parent 81a8faee8d
commit 9b772d4362

View File

@ -0,0 +1,9 @@
; RUN: llvm-as < %s | opt -load-vn -gcse -instcombine | dis | grep sub
int %test(int* %P) {
%X = load volatile int* %P
%Y = load volatile int* %P
%Z = sub int %X, %Y
ret int %Z
}