diff options
| author | Chandler Carruth <chandlerc@gmail.com> | 2012-03-22 05:44:06 +0000 |
|---|---|---|
| committer | Chandler Carruth <chandlerc@gmail.com> | 2012-03-22 05:44:06 +0000 |
| commit | e26dafeb79f5d5b5be6a9e0ca227e14dac57d34a (patch) | |
| tree | 9969a6caf1ed0fde0825945820e93676ae9678d9 /llvm/test/ExecutionEngine/MCJIT/test-global-init-nonzero.ll | |
| parent | 76eb187c0fcda1ecb5bc721c480bb904924856ac (diff) | |
| download | bcm5719-llvm-e26dafeb79f5d5b5be6a9e0ca227e14dac57d34a.tar.gz bcm5719-llvm-e26dafeb79f5d5b5be6a9e0ca227e14dac57d34a.zip | |
Revert a series of commits to MCJIT to get the build working in CMake
(and hopefully on Windows). The bots have been down most of the day
because of this, and it's not clear to me what all will be required to
fix it.
The commits started with r153205, then r153207, r153208, and r153221.
The first commit seems to be the real culprit, but I couldn't revert
a smaller number of patches.
When resubmitting, r153207 and r153208 should be folded into r153205,
they were simple build fixes.
llvm-svn: 153241
Diffstat (limited to 'llvm/test/ExecutionEngine/MCJIT/test-global-init-nonzero.ll')
| -rw-r--r-- | llvm/test/ExecutionEngine/MCJIT/test-global-init-nonzero.ll | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/llvm/test/ExecutionEngine/MCJIT/test-global-init-nonzero.ll b/llvm/test/ExecutionEngine/MCJIT/test-global-init-nonzero.ll deleted file mode 100644 index 4a790c6ff17..00000000000 --- a/llvm/test/ExecutionEngine/MCJIT/test-global-init-nonzero.ll +++ /dev/null @@ -1,34 +0,0 @@ -; RUN: %lli -use-mcjit %s > /dev/null - -@count = global i32 1, align 4 - -define i32 @main() nounwind uwtable { -entry: - %retval = alloca i32, align 4 - %i = alloca i32, align 4 - store i32 0, i32* %retval - store i32 0, i32* %i, align 4 - br label %for.cond - -for.cond: ; preds = %for.inc, %entry - %0 = load i32* %i, align 4 - %cmp = icmp slt i32 %0, 49 - br i1 %cmp, label %for.body, label %for.end - -for.body: ; preds = %for.cond - %1 = load i32* @count, align 4 - %inc = add nsw i32 %1, 1 - store i32 %inc, i32* @count, align 4 - br label %for.inc - -for.inc: ; preds = %for.body - %2 = load i32* %i, align 4 - %inc1 = add nsw i32 %2, 1 - store i32 %inc1, i32* %i, align 4 - br label %for.cond - -for.end: ; preds = %for.cond - %3 = load i32* @count, align 4 - %sub = sub nsw i32 %3, 50 - ret i32 %sub -} |

