about summary refs log tree commit diff homepage
path: root/test/Feature
diff options
context:
space:
mode:
authorCristian Cadar <c.cadar@imperial.ac.uk>2019-03-11 12:24:43 +0000
committerMartinNowack <martin.nowack@gmail.com>2019-03-12 00:18:29 +0000
commit0e92811fe7ba7b98425391ef8f8995174afc4f74 (patch)
tree83f3732d021e49c1f6c6eecbab201b7a161f172b /test/Feature
parentb5f85b7493cb48ccec6ab6df437a72f4f7f0b1f1 (diff)
downloadklee-0e92811fe7ba7b98425391ef8f8995174afc4f74.tar.gz
Removed unneeded and confusing disable-opt option, reformatted Optimize() function and updated some .ll tests to use --optimize=false instead of --disable-opt
Diffstat (limited to 'test/Feature')
-rw-r--r--test/Feature/BitcastAlias.leq36.ll2
-rw-r--r--test/Feature/BitcastAlias.leq37.ll2
-rw-r--r--test/Feature/BitcastAlias.ll2
-rw-r--r--test/Feature/BitcastAliasMD2U.leq36.ll2
-rw-r--r--test/Feature/BitcastAliasMD2U.leq37.ll2
-rw-r--r--test/Feature/BitcastAliasMD2U.ll2
-rw-r--r--test/Feature/ConstantArray.leq36.ll2
-rw-r--r--test/Feature/ConstantArray.ll2
-rw-r--r--test/Feature/ConstantStruct.leq36.ll2
-rw-r--r--test/Feature/ConstantStruct.ll2
-rw-r--r--test/Feature/GetElementPtr.leq36.ll2
-rw-r--r--test/Feature/GetElementPtr.ll2
-rw-r--r--test/Feature/ImpliedValue.c.failing2
-rw-r--r--test/Feature/InsertExtractValue.leq36.ll2
-rw-r--r--test/Feature/InsertExtractValue.ll2
-rw-r--r--test/Feature/IntrinsicTrap.ll2
-rw-r--r--test/Feature/Overflow.leq36.ll2
-rw-r--r--test/Feature/Overflow.ll2
-rw-r--r--test/Feature/OverflowMul.leq36.ll2
-rw-r--r--test/Feature/OverflowMul.ll2
20 files changed, 20 insertions, 20 deletions
diff --git a/test/Feature/BitcastAlias.leq36.ll b/test/Feature/BitcastAlias.leq36.ll
index d203e52c..467b6d17 100644
--- a/test/Feature/BitcastAlias.leq36.ll
+++ b/test/Feature/BitcastAlias.leq36.ll
@@ -1,7 +1,7 @@
 ; REQUIRES: lt-llvm-3.7
 ; RUN: llvm-as %s -f -o %t1.bc
 ; RUN: rm -rf %t.klee-out
-; RUN: %klee --output-dir=%t.klee-out -disable-opt %t1.bc > %t2
+; RUN: %klee --output-dir=%t.klee-out --optimize=false %t1.bc > %t2
 ; RUN: grep PASS %t2
 
 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"
diff --git a/test/Feature/BitcastAlias.leq37.ll b/test/Feature/BitcastAlias.leq37.ll
index e860acb2..eddadcf9 100644
--- a/test/Feature/BitcastAlias.leq37.ll
+++ b/test/Feature/BitcastAlias.leq37.ll
@@ -4,7 +4,7 @@
 ; REQUIRES: lt-llvm-3.8
 ; RUN: llvm-as %s -f -o %t1.bc
 ; RUN: rm -rf %t.klee-out
-; RUN: %klee --output-dir=%t.klee-out -disable-opt %t1.bc > %t2
+; RUN: %klee --output-dir=%t.klee-out --optimize=false %t1.bc > %t2
 ; RUN: grep PASS %t2
 
 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"
diff --git a/test/Feature/BitcastAlias.ll b/test/Feature/BitcastAlias.ll
index 5111f18e..50ee4fb7 100644
--- a/test/Feature/BitcastAlias.ll
+++ b/test/Feature/BitcastAlias.ll
@@ -4,7 +4,7 @@
 ; REQUIRES: geq-llvm-3.8
 ; RUN: llvm-as %s -f -o %t1.bc
 ; RUN: rm -rf %t.klee-out
-; RUN: %klee --output-dir=%t.klee-out -disable-opt %t1.bc > %t2
+; RUN: %klee --output-dir=%t.klee-out --optimize=false %t1.bc > %t2
 ; RUN: grep PASS %t2
 
 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"
diff --git a/test/Feature/BitcastAliasMD2U.leq36.ll b/test/Feature/BitcastAliasMD2U.leq36.ll
index cef8ac54..e33f6948 100644
--- a/test/Feature/BitcastAliasMD2U.leq36.ll
+++ b/test/Feature/BitcastAliasMD2U.leq36.ll
@@ -1,7 +1,7 @@
 ; REQUIRES: lt-llvm-3.7
 ; RUN: llvm-as %s -f -o %t1.bc
 ; RUN: rm -rf %t.klee-out
-; RUN: %klee --output-dir=%t.klee-out -disable-opt -search=nurs:md2u %t1.bc > %t2
+; RUN: %klee --output-dir=%t.klee-out --optimize=false -search=nurs:md2u %t1.bc > %t2
 ; RUN: grep PASS %t2
 
 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"
diff --git a/test/Feature/BitcastAliasMD2U.leq37.ll b/test/Feature/BitcastAliasMD2U.leq37.ll
index c29ec8a6..9f144774 100644
--- a/test/Feature/BitcastAliasMD2U.leq37.ll
+++ b/test/Feature/BitcastAliasMD2U.leq37.ll
@@ -4,7 +4,7 @@
 ; REQUIRES: lt-llvm-3.8
 ; RUN: llvm-as %s -f -o %t1.bc
 ; RUN: rm -rf %t.klee-out
-; RUN: %klee --output-dir=%t.klee-out -disable-opt -search=nurs:md2u %t1.bc > %t2
+; RUN: %klee --output-dir=%t.klee-out --optimize=false -search=nurs:md2u %t1.bc > %t2
 ; RUN: grep PASS %t2
 
 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"
diff --git a/test/Feature/BitcastAliasMD2U.ll b/test/Feature/BitcastAliasMD2U.ll
index 7ef74a8d..eef4cc7a 100644
--- a/test/Feature/BitcastAliasMD2U.ll
+++ b/test/Feature/BitcastAliasMD2U.ll
@@ -4,7 +4,7 @@
 ; REQUIRES: geq-llvm-3.8
 ; RUN: llvm-as %s -f -o %t1.bc
 ; RUN: rm -rf %t.klee-out
-; RUN: %klee --output-dir=%t.klee-out -disable-opt -search=nurs:md2u %t1.bc > %t2
+; RUN: %klee --output-dir=%t.klee-out --optimize=false -search=nurs:md2u %t1.bc > %t2
 ; RUN: grep PASS %t2
 
 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"
diff --git a/test/Feature/ConstantArray.leq36.ll b/test/Feature/ConstantArray.leq36.ll
index a4986ff4..e1664e05 100644
--- a/test/Feature/ConstantArray.leq36.ll
+++ b/test/Feature/ConstantArray.leq36.ll
@@ -1,7 +1,7 @@
 ; REQUIRES: lt-llvm-3.7
 ; RUN: llvm-as %s -f -o %t1.bc
 ; RUN: rm -rf %t.klee-out
-; RUN: %klee --output-dir=%t.klee-out -disable-opt %t1.bc 2>&1 | FileCheck %s
+; RUN: %klee --output-dir=%t.klee-out --optimize=false %t1.bc 2>&1 | FileCheck %s
 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"
 
diff --git a/test/Feature/ConstantArray.ll b/test/Feature/ConstantArray.ll
index 195b4cb0..e0f811cc 100644
--- a/test/Feature/ConstantArray.ll
+++ b/test/Feature/ConstantArray.ll
@@ -4,7 +4,7 @@
 ; REQUIRES: geq-llvm-3.7
 ; RUN: llvm-as %s -f -o %t1.bc
 ; RUN: rm -rf %t.klee-out
-; RUN: %klee --output-dir=%t.klee-out -disable-opt %t1.bc 2>&1 | FileCheck %s
+; RUN: %klee --output-dir=%t.klee-out --optimize=false %t1.bc 2>&1 | FileCheck %s
 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"
 
diff --git a/test/Feature/ConstantStruct.leq36.ll b/test/Feature/ConstantStruct.leq36.ll
index 073544d3..103d07b6 100644
--- a/test/Feature/ConstantStruct.leq36.ll
+++ b/test/Feature/ConstantStruct.leq36.ll
@@ -1,7 +1,7 @@
 ; REQUIRES: lt-llvm-3.7
 ; RUN: llvm-as %s -f -o %t1.bc
 ; RUN: rm -rf %t.klee-out
-; RUN: %klee --output-dir=%t.klee-out -disable-opt %t1.bc > %t2
+; RUN: %klee --output-dir=%t.klee-out --optimize=false %t1.bc > %t2
 ; RUN: grep PASS %t2
 
 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"
diff --git a/test/Feature/ConstantStruct.ll b/test/Feature/ConstantStruct.ll
index e4b3d07b..331dcfc9 100644
--- a/test/Feature/ConstantStruct.ll
+++ b/test/Feature/ConstantStruct.ll
@@ -2,7 +2,7 @@
 ; REQUIRES: geq-llvm-3.7
 ; RUN: llvm-as %s -f -o %t1.bc
 ; RUN: rm -rf %t.klee-out
-; RUN: %klee --output-dir=%t.klee-out -disable-opt %t1.bc > %t2
+; RUN: %klee --output-dir=%t.klee-out --optimize=false %t1.bc > %t2
 ; RUN: grep PASS %t2
 
 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"
diff --git a/test/Feature/GetElementPtr.leq36.ll b/test/Feature/GetElementPtr.leq36.ll
index 43f33e27..349ecd1b 100644
--- a/test/Feature/GetElementPtr.leq36.ll
+++ b/test/Feature/GetElementPtr.leq36.ll
@@ -1,7 +1,7 @@
 ; REQUIRES: lt-llvm-3.7
 ; RUN: llvm-as %s -f -o %t1.bc
 ; RUN: rm -rf %t.klee-out
-; RUN: %klee --output-dir=%t.klee-out -disable-opt %t1.bc > %t2
+; RUN: %klee --output-dir=%t.klee-out --optimize=false %t1.bc > %t2
 ; RUN: grep PASS %t2
 
 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"
diff --git a/test/Feature/GetElementPtr.ll b/test/Feature/GetElementPtr.ll
index f7f8aada..a0bfad0f 100644
--- a/test/Feature/GetElementPtr.ll
+++ b/test/Feature/GetElementPtr.ll
@@ -2,7 +2,7 @@
 ; REQUIRES: geq-llvm-3.7
 ; RUN: llvm-as %s -f -o %t1.bc
 ; RUN: rm -rf %t.klee-out
-; RUN: %klee --output-dir=%t.klee-out -disable-opt %t1.bc > %t2
+; RUN: %klee --output-dir=%t.klee-out --optimize=false %t1.bc > %t2
 ; RUN: grep PASS %t2
 
 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"
diff --git a/test/Feature/ImpliedValue.c.failing b/test/Feature/ImpliedValue.c.failing
index d3142456..dd4d8f55 100644
--- a/test/Feature/ImpliedValue.c.failing
+++ b/test/Feature/ImpliedValue.c.failing
@@ -1,7 +1,7 @@
 // RUN: rm -f %t4.out %t4.err %t4.log
 // RUN: %llvmgcc %s -emit-llvm -O2 -c -o %t1.bc
 // RUN: llvm-as -f ../_utils._ll -o %t2.bc
-// RUN: llvm-ld -disable-opt -link-as-library %t1.bc %t2.bc -o %t3.bc
+// RUN: llvm-ld --optimize=false -link-as-library %t1.bc %t2.bc -o %t3.bc
 // RUN: rm -rf %t.klee-out
 // RUN: %klee --output-dir=%t.klee-out --log-file %t4.log --debug-check-for-implied-values %t3.bc > %t4.out 2> %t4.err
 // RUN: ls %t.klee-out | not grep .err
diff --git a/test/Feature/InsertExtractValue.leq36.ll b/test/Feature/InsertExtractValue.leq36.ll
index 431e14c4..4918cc2b 100644
--- a/test/Feature/InsertExtractValue.leq36.ll
+++ b/test/Feature/InsertExtractValue.leq36.ll
@@ -1,7 +1,7 @@
 ; REQUIRES: lt-llvm-3.7
 ; RUN: llvm-as %s -f -o %t1.bc
 ; RUN: rm -rf %t.klee-out
-; RUN: %klee --output-dir=%t.klee-out -disable-opt %t1.bc > %t2
+; RUN: %klee --output-dir=%t.klee-out --optimize=false %t1.bc > %t2
 ; RUN: grep PASS %t2
 
 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"
diff --git a/test/Feature/InsertExtractValue.ll b/test/Feature/InsertExtractValue.ll
index fff6da7c..461b28de 100644
--- a/test/Feature/InsertExtractValue.ll
+++ b/test/Feature/InsertExtractValue.ll
@@ -2,7 +2,7 @@
 ; REQUIRES: geq-llvm-3.7
 ; RUN: llvm-as %s -f -o %t1.bc
 ; RUN: rm -rf %t.klee-out
-; RUN: %klee --output-dir=%t.klee-out -disable-opt %t1.bc > %t2
+; RUN: %klee --output-dir=%t.klee-out --optimize=false %t1.bc > %t2
 ; RUN: grep PASS %t2
 
 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"
diff --git a/test/Feature/IntrinsicTrap.ll b/test/Feature/IntrinsicTrap.ll
index 9caf4a62..c88a328a 100644
--- a/test/Feature/IntrinsicTrap.ll
+++ b/test/Feature/IntrinsicTrap.ll
@@ -1,6 +1,6 @@
 ; RUN: llvm-as %s -f -o %t1.bc
 ; RUN: rm -rf %t.klee-out
-; RUN: %klee --output-dir=%t.klee-out -disable-opt %t1.bc
+; RUN: %klee --output-dir=%t.klee-out --optimize=false %t1.bc
 ; RUN: FileCheck %s --input-file=%t.klee-out/assembly.ll
 
 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-f128:128:128-n8:16:32:64"
diff --git a/test/Feature/Overflow.leq36.ll b/test/Feature/Overflow.leq36.ll
index 2ab04772..f61c2576 100644
--- a/test/Feature/Overflow.leq36.ll
+++ b/test/Feature/Overflow.leq36.ll
@@ -1,7 +1,7 @@
 ; REQUIRES: lt-llvm-3.7
 ; RUN: llvm-as %s -f -o %t1.bc
 ; RUN: rm -rf %t.klee-out
-; RUN: %klee --output-dir=%t.klee-out -disable-opt %t1.bc > %t2
+; RUN: %klee --output-dir=%t.klee-out --optimize=false %t1.bc > %t2
 ; RUN: grep PASS %t2
 
 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"
diff --git a/test/Feature/Overflow.ll b/test/Feature/Overflow.ll
index 1dbe1216..06926a28 100644
--- a/test/Feature/Overflow.ll
+++ b/test/Feature/Overflow.ll
@@ -2,7 +2,7 @@
 ; REQUIRES: geq-llvm-3.7
 ; RUN: llvm-as %s -f -o %t1.bc
 ; RUN: rm -rf %t.klee-out
-; RUN: %klee --output-dir=%t.klee-out -disable-opt %t1.bc > %t2
+; RUN: %klee --output-dir=%t.klee-out --optimize=false %t1.bc > %t2
 ; RUN: grep PASS %t2
 
 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"
diff --git a/test/Feature/OverflowMul.leq36.ll b/test/Feature/OverflowMul.leq36.ll
index 1b14d380..f1878a47 100644
--- a/test/Feature/OverflowMul.leq36.ll
+++ b/test/Feature/OverflowMul.leq36.ll
@@ -1,7 +1,7 @@
 ; REQUIRES: lt-llvm-3.7
 ; RUN: llvm-as %s -f -o %t1.bc
 ; RUN: rm -rf %t.klee-out
-; RUN: %klee --output-dir=%t.klee-out -disable-opt %t1.bc > %t2
+; RUN: %klee --output-dir=%t.klee-out --optimize=false %t1.bc > %t2
 ; RUN: grep PASS %t2
 
 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"
diff --git a/test/Feature/OverflowMul.ll b/test/Feature/OverflowMul.ll
index 3173e43c..89335b91 100644
--- a/test/Feature/OverflowMul.ll
+++ b/test/Feature/OverflowMul.ll
@@ -2,7 +2,7 @@
 ; REQUIRES: geq-llvm-3.7
 ; RUN: llvm-as %s -f -o %t1.bc
 ; RUN: rm -rf %t.klee-out
-; RUN: %klee --output-dir=%t.klee-out -disable-opt %t1.bc > %t2
+; RUN: %klee --output-dir=%t.klee-out --optimize=false %t1.bc > %t2
 ; RUN: grep PASS %t2
 
 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"