llvm-project
adbe9e20 - llvm-reduce: Skip setting br conditions on already constant branches (#133841)

Commit
1 year ago
llvm-reduce: Skip setting br conditions on already constant branches (#133841) If we are trying to simplify branch conditions to true, ignore branches already set to a constant true. If we are simplifying to constant false, ignore the already constant false cases. This saves steps in this edge case, and avoids the side effect of running simplifycfg on blocks we did not intend to modify.
Author
Parents
Loading