1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-25 22:12:57 +02:00
llvm-mirror/test/CodeGen/CBackend/2005-02-14-VolatileOperations.ll
2007-01-17 07:59:14 +00:00

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
}