[PATCH] D42788: [SDAG] Legalize all CondCodes by inverting them and/or swapping operands
Derek Schuff via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Feb 5 17:47:35 PST 2018
dschuff added a comment.
So, it turns out that this actually does change functionality on targets (such as WebAssembly) that use the expansion for unordered comparisons because it tries inverting the condition before falling all the way through to line 1680. This actually results in better code for wasm; see https://reviews.llvm.org/rL324305
Repository:
rL LLVM
https://reviews.llvm.org/D42788
More information about the llvm-commits
mailing list