summaryrefslogtreecommitdiff
path: root/release_23/test/Transforms/LICM/2003-12-13-VolatilePromote.ll
diff options
context:
space:
mode:
Diffstat (limited to 'release_23/test/Transforms/LICM/2003-12-13-VolatilePromote.ll')
-rw-r--r--release_23/test/Transforms/LICM/2003-12-13-VolatilePromote.ll16
1 files changed, 0 insertions, 16 deletions
diff --git a/release_23/test/Transforms/LICM/2003-12-13-VolatilePromote.ll b/release_23/test/Transforms/LICM/2003-12-13-VolatilePromote.ll
deleted file mode 100644
index 85c93c62bf5c..000000000000
--- a/release_23/test/Transforms/LICM/2003-12-13-VolatilePromote.ll
+++ /dev/null
@@ -1,16 +0,0 @@
-; RUN: llvm-as < %s | opt -licm | llvm-dis | %prcontext volatile 1 | grep Loop
-
-@X = global i32 7 ; <i32*> [#uses=2]
-
-define void @testfunc(i32 %i) {
- br label %Loop
-Loop: ; preds = %Loop, %0
- ; Should not promote this to a register
- %x = volatile load i32* @X ; <i32> [#uses=1]
- %x2 = add i32 %x, 1 ; <i32> [#uses=1]
- store i32 %x2, i32* @X
- br i1 true, label %Out, label %Loop
-Out: ; preds = %Loop
- ret void
-}
-