about summary refs log tree commit diff
path: root/llvm_mode/split-compares-pass.so.cc
diff options
context:
space:
mode:
authorAndrea Fioraldi <andreafioraldi@gmail.com>2019-10-31 16:19:26 +0100
committerAndrea Fioraldi <andreafioraldi@gmail.com>2019-10-31 16:19:26 +0100
commit58fe2f2c767b4dfe973b75feaf7df78c798b62d5 (patch)
tree9c00033f34783b1f184641a2ae47734c2b542913 /llvm_mode/split-compares-pass.so.cc
parent664f603a31ff7b118d14fa6409dd662ee604b36c (diff)
parentb17afc10a23cf87b3a0b8290491de4edd80c9c71 (diff)
downloadafl++-58fe2f2c767b4dfe973b75feaf7df78c798b62d5.tar.gz
Merge branch 'master' of github.com:vanhauser-thc/AFLplusplus
Diffstat (limited to 'llvm_mode/split-compares-pass.so.cc')
-rw-r--r--llvm_mode/split-compares-pass.so.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm_mode/split-compares-pass.so.cc b/llvm_mode/split-compares-pass.so.cc
index 06bdeb60..60420f77 100644
--- a/llvm_mode/split-compares-pass.so.cc
+++ b/llvm_mode/split-compares-pass.so.cc
@@ -118,6 +118,8 @@ bool SplitComparesTransform::simplifyCompares(Module &M) {
             /* this is probably not needed but we do it anyway */
             if (TyOp0 != TyOp1) { continue; }
 
+            if (TyOp0->isArrayTy() || TyOp0->isVectorTy()) { continue; }
+
             fcomps.push_back(selectcmpInst);
 
           }