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:
parent
81a8faee8d
commit
9b772d4362
9
test/Regression/Transforms/GCSE/RLE-Preserve-Volatile.ll
Normal file
9
test/Regression/Transforms/GCSE/RLE-Preserve-Volatile.ll
Normal 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
|
||||
}
|
Loading…
Reference in New Issue
Block a user