From 83fe2a110677ff36b214f9eba7429c57d4896345 Mon Sep 17 00:00:00 2001 From: Alan Li Date: Wed, 20 Nov 2019 14:59:07 -0500 Subject: [PATCH] Issue #27: adding another loop test. --- test/CodeGen/EVM/runtime_tests/loop2.ll | 34 +++++++++++++++++++++++++ tools/evm-test/evm_test.py | 4 +++ 2 files changed, 38 insertions(+) create mode 100644 test/CodeGen/EVM/runtime_tests/loop2.ll diff --git a/test/CodeGen/EVM/runtime_tests/loop2.ll b/test/CodeGen/EVM/runtime_tests/loop2.ll new file mode 100644 index 0000000000000..928407b8864c0 --- /dev/null +++ b/test/CodeGen/EVM/runtime_tests/loop2.ll @@ -0,0 +1,34 @@ +; Function Attrs: noinline nounwind optnone ssp uwtable +define i256 @abc(i256, i256) #0 { + %3 = alloca i256, align 4 + %4 = alloca i256, align 4 + %5 = alloca i256, align 4 + store i256 %0, i256* %3, align 4 + store i256 %1, i256* %4, align 4 + store i256 0, i256* %5, align 4 + br label %6 + +;