HomePhabricator

[LoopPred] Be uniform about proving generated conditions

Authored by reames on Apr 1 2019, 9:26 AM.

Description

[LoopPred] Be uniform about proving generated conditions

We'd been optimizing the case where the predicate was obviously true, do the same for the false case. Mostly just for completeness sake, but also may improve compile time in loops which will exit through the guard. Such loops are presumed rare in fastpath code, but may be present down untaken paths, so optimizing for them is still useful.

llvm-svn: 357408

Details

Committed
reamesApr 1 2019, 9:26 AM
Parents
rG6c21ccd245bb: [NVPTX] Fix the codegen for llvm.round.
Branches
Unknown
Tags
Unknown