split-compares-pass: bugfix add missing instrument_file filtering in some places
MODIFY
llvm_mode/split-compares-pass.so.cc
llvm_mode/split-compares-pass.so.cc
@@ -356,6 +356,8 @@ bool SplitComparesTransform::simplifyIntSignedness(Module &M) {
* all signed compares to icomps vector */
for (auto &F : M) {
+ if (!isInInstrumentList(&F)) continue;
+
for (auto &BB : F) {
for (auto &IN : BB) {
@@ -542,6 +544,8 @@ size_t SplitComparesTransform::splitFPCompares(Module &M) {
* functions were executed only these four predicates should exist */
for (auto &F : M) {
+ if (!isInInstrumentList(&F)) continue;
+
for (auto &BB : F) {
for (auto &IN : BB) {
@@ -1052,6 +1056,8 @@ size_t SplitComparesTransform::splitIntCompares(Module &M, unsigned bitw) {
* were executed only these four predicates should exist */
for (auto &F : M) {
+ if (!isInInstrumentList(&F)) continue;
+
for (auto &BB : F) {
for (auto &IN : BB) {

split-compares-pass: bugfix add missing instrument_file filtering in some places