1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-20 19:42:54 +02:00
llvm-mirror/test/CodeGen/CBackend/2005-02-14-VolatileOperations.ll

9 lines
196 B
LLVM
Raw Normal View History

; RUN: llc < %s -march=c | grep volatile
2005-02-14 17:45:38 +01:00
define void @test(i32* %P) {
%X = volatile load i32* %P ; <i32> [#uses=1]
volatile store i32 %X, i32* %P
ret void
2005-02-14 17:45:38 +01:00
}