]> git.ipfire.org Git - thirdparty/vectorscan.git/commitdiff
Don't let haigs into Tamarama
authorMatthew Barr <matthew.barr@intel.com>
Wed, 23 Aug 2017 01:54:31 +0000 (11:54 +1000)
committerMatthew Barr <matthew.barr@intel.com>
Mon, 18 Sep 2017 03:29:34 +0000 (13:29 +1000)
src/rose/rose_build_bytecode.cpp

index d3ae52bf38e1cca4aaaef77060a632bce1762b91..9a546ae4e8805f0d911485d0763c086624963342 100644 (file)
@@ -1445,6 +1445,10 @@ void findExclusiveInfixes(RoseBuildImpl &build, build_context &bc,
             continue;
         }
 
+        if (leftfix.haig()) {
+            continue;
+        }
+
         if (leftfix.graph() || leftfix.castle()) {
             leftfixes.emplace(leftfix, role_id);
             vertex_map[role_id].push_back(v);
@@ -1881,6 +1885,10 @@ void findExclusiveSuffixes(RoseBuildImpl &tbi, build_context &bc,
             continue;
         }
 
+        if (s.haig()) {
+            continue;
+        }
+
         // Currently disable eod suffixes for exclusive analysis
         if (!tbi.isInETable(v) && (s.graph() || s.castle())) {
             DEBUG_PRINTF("assigning %p to id %u\n", s.graph(), role_id);