Files
clang-p2996/llvm/lib/Target/RISCV/RISCVLateBranchOpt.cpp
Mikhail R. Gadelha d8e44a9ab2 [RISCV] Add late optimization pass for riscv (#133256)
This patch is an alternative to PRs #117060, #131684, #131728.

The patch adds a late optimization pass that replaces conditional
branches that can be statically evaluated with an unconditinal branch.

Adding Michael as a co-author as most of the code that evaluates the
condition comes from #131684.

Co-authored-by: Michael Maitland michaeltmaitland@gmail.com
2025-03-27 19:31:38 -03:00

3.3 KiB