diff options
author | Julian Büning <julian.buening@rwth-aachen.de> | 2019-03-20 22:05:09 +0100 |
---|---|---|
committer | MartinNowack <martin.nowack@gmail.com> | 2019-03-21 12:46:01 +0000 |
commit | 3c22f088ce92854b9fcb5b41f67bf9a503ec9719 (patch) | |
tree | c7497c38f3e661f56a32d55d79b5d7868a070220 /test/Intrinsics | |
parent | 9767a37f9e8a743fa81629510346cb0a5a3a7900 (diff) | |
download | klee-3c22f088ce92854b9fcb5b41f67bf9a503ec9719.tar.gz |
remove tests for LLVM <= 3.7
Diffstat (limited to 'test/Intrinsics')
-rw-r--r-- | test/Intrinsics/objectsize.leq36.ll | 33 | ||||
-rw-r--r-- | test/Intrinsics/objectsize.leq49.ll | 3 |
2 files changed, 0 insertions, 36 deletions
diff --git a/test/Intrinsics/objectsize.leq36.ll b/test/Intrinsics/objectsize.leq36.ll deleted file mode 100644 index 8f94510c..00000000 --- a/test/Intrinsics/objectsize.leq36.ll +++ /dev/null @@ -1,33 +0,0 @@ -; REQUIRES: lt-llvm-3.7 -; RUN: %llvmas %s -o=%t.bc -; RUN: rm -rf %t.klee-out -; RUN: %klee -exit-on-error --output-dir=%t.klee-out --optimize=false %t.bc -; ModuleID = 'objectsize.c' -target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64-S128" -target triple = "x86_64-unknown-linux-gnu" - -define i32 @main() nounwind uwtable { -entry: - %a = alloca i8*, align 8 - %0 = load i8** %a, align 8 - %1 = call i64 @llvm.objectsize.i64.p0i8(i8* %0, i1 true) - %cmp = icmp ne i64 %1, 0 - br i1 %cmp, label %abort.block, label %continue.block - -continue.block: - %2 = load i8** %a, align 8 - %3 = call i64 @llvm.objectsize.i64.p0i8(i8* %2, i1 false) - %cmp1 = icmp ne i64 %3, -1 - br i1 %cmp1, label %abort.block, label %exit.block - -exit.block: - ret i32 0 - -abort.block: - call void @abort() - unreachable -} - -declare i64 @llvm.objectsize.i64.p0i8(i8*, i1) nounwind readnone - -declare void @abort() noreturn nounwind diff --git a/test/Intrinsics/objectsize.leq49.ll b/test/Intrinsics/objectsize.leq49.ll index bb084244..0aa77816 100644 --- a/test/Intrinsics/objectsize.leq49.ll +++ b/test/Intrinsics/objectsize.leq49.ll @@ -1,6 +1,3 @@ -; LLVM 3.7 requires a type as the first argument to 'load' -; LLVM 5 added nullunknown parameter to @llvm.objectsize -; REQUIRES: geq-llvm-3.7 ; REQUIRES: lt-llvm-5.0 ; RUN: %llvmas %s -o=%t.bc ; RUN: rm -rf %t.klee-out |