Similar to D87168, but for abs. If we have a dominating x >= 0 condition, then we know that abs(x) is x. This fold is in InstCombine, because we need to create a sub instruction for the x < 0 case.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo