]> git.ipfire.org Git - thirdparty/gcc.git/commit
combine: Reverse negative logic in ternary operator
authorUros Bizjak <ubizjak@gmail.com>
Mon, 3 Mar 2025 16:04:54 +0000 (17:04 +0100)
committerUros Bizjak <ubizjak@gmail.com>
Mon, 3 Mar 2025 16:04:54 +0000 (17:04 +0100)
commitf1c30c6213fb228f1e8b5973d10c868b834a4acd
treefe8b7c3136fd9532c5b428e86118a3b5c5e94873
parenta92dc3fe31c95d56019b2fb95a58414bca06241f
combine: Reverse negative logic in ternary operator

Reverse negative logic in !a ? b : c to become a ? c : b.

No functional changes.

gcc/ChangeLog:

* combine.cc (distribute_notes):
Reverse negative logic in ternary operators.
gcc/combine.cc