[llvm] [CodeLayout] Faster basic block reordering, ext-tsp (PR #68617)

Fangrui Song via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 24 17:23:00 PDT 2023


================
@@ -446,6 +448,14 @@ struct ChainEdge {
   bool CacheValidBackward{false};
 };
 
+bool NodeT::isSuccessor(const NodeT *Other) const {
+  for (JumpT *Jump : OutJumps) {
----------------
MaskRay wrote:

We omit braces in this case https://llvm.org/docs/CodingStandards.html#don-t-use-braces-on-simple-single-statement-bodies-of-if-else-loop-statements

https://github.com/llvm/llvm-project/pull/68617


More information about the llvm-commits mailing list