mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-02 09:01:37 +00:00
4572ce85b0
llvm-svn: 33296
8 lines
160 B
LLVM
8 lines
160 B
LLVM
; RUN: llvm-upgrade < %s | llvm-as | llc -march=c | grep volatile
|
|
|
|
void %test(int* %P) {
|
|
%X = volatile load int*%P
|
|
volatile store int %X, int* %P
|
|
ret void
|
|
}
|