diff options
Diffstat (limited to 'llvm/test/Regression/Transforms/GlobalOpt/malloc-promote-1.llx')
| -rw-r--r-- | llvm/test/Regression/Transforms/GlobalOpt/malloc-promote-1.llx | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/llvm/test/Regression/Transforms/GlobalOpt/malloc-promote-1.llx b/llvm/test/Regression/Transforms/GlobalOpt/malloc-promote-1.llx deleted file mode 100644 index 068e96fc2c4..00000000000 --- a/llvm/test/Regression/Transforms/GlobalOpt/malloc-promote-1.llx +++ /dev/null @@ -1,18 +0,0 @@ -; RUN: llvm-upgrade < %s | llvm-as | opt -globalopt | llvm-dis | not grep global - -%G = internal global int* null - -void %init() { - %P = malloc int - store int* %P, int** %G - - %GV = load int** %G - store int 0, int* %GV - ret void -} - -int %get() { - %GV = load int** %G - %V = load int* %GV - ret int %V -} |

