[clang] [llvm] [SimplifyCFG] Extend jump-threading to allow live local defs (PR #135079)

Yingwei Zheng via cfe-commits cfe-commits at lists.llvm.org
Tue May 13 01:35:38 PDT 2025


================
@@ -3442,10 +3442,28 @@ bool SimplifyCFGOpt::speculativelyExecuteBB(BranchInst *BI,
   return true;
 }
 
+typedef SmallPtrSet<BasicBlock *, 8> BlocksSet;
----------------
dtcxzyw wrote:

```suggestion
using BlocksSet = SmallPtrSet<BasicBlock *, 8>;
```

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


More information about the cfe-commits mailing list