mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2026-07-01 21:04:07 -04:00
05294a4e68
Count iterations of zero-trip loops and assert the count is zero, rather than asserting inside the loop. Unreachable functions should use llvm_unreachable. Remove tautological 'if' statements, even when they're following a pattern of checks. Found by the Rotten Green Tests project.