Set trigger vector in whole words (#5857)

Having many triggers still hits a bottleneck in LLVM leading to long
compile times.

Instead of setting triggers bit-wise, set them as a whole 64-bit word
when possible. This improves C++ compile times by ~4x on some large
designs and has minor run-time performance benefit.
This commit is contained in:
Geza Lore
2025-03-14 14:06:51 +00:00
committed by GitHub
parent aca3b1636a
commit 59cb53cfbc
7 changed files with 135 additions and 11 deletions
+2 -1
View File
@@ -3018,7 +3018,8 @@ void AstCMethodHard::setPurity() {
{"resume", false},
{"reverse", false},
{"rsort", false},
{"set", false},
{"setBit", false},
{"setWord", false},
{"set_randmode", false},
{"shuffle", false},
{"size", true},