diff options
author | hexcoder- <heiko@hexco.de> | 2019-10-27 23:54:44 +0100 |
---|---|---|
committer | hexcoder- <heiko@hexco.de> | 2019-10-27 23:54:44 +0100 |
commit | 3ad5316dd1d7a4512b5acc17381a634a82901406 (patch) | |
tree | f693a0becf3b5e6d450661e1d5b0f34c8dd967ed | |
parent | f8e0e9ab1f2460c7faeca7d2e0cef5700a05859a (diff) | |
download | afl++-3ad5316dd1d7a4512b5acc17381a634a82901406.tar.gz |
fix issue #86, we exclude floating point vectors from splitting
-rw-r--r-- | llvm_mode/split-compares-pass.so.cc | 2 |
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 4248b238..06bdeb60 100644 --- a/llvm_mode/split-compares-pass.so.cc +++ b/llvm_mode/split-compares-pass.so.cc @@ -479,6 +479,8 @@ size_t SplitComparesTransform::splitFPCompares(Module &M) { if (TyOp0 != TyOp1) { continue; } + if (TyOp0->isArrayTy() || TyOp0->isVectorTy()) { continue; } + fcomps.push_back(selectcmpInst); } |