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

