mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-21 03:53:04 +02:00
907f3d8b67
llvm-svn: 20176
8 lines
145 B
LLVM
8 lines
145 B
LLVM
; RUN: llvm-as < %s | llc -march=c | grep volatile
|
|
|
|
void %test(int* %P) {
|
|
%X = volatile load int*%P
|
|
volatile store int %X, int* %P
|
|
ret void
|
|
}
|