[PATCH] D25485: [x86] use 'neg' for negation of bool

Simon Dardis via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 13 08:23:33 PDT 2016


sdardis added a comment.

We don't have a negate instruction, we use "nor $dst, $src, $zero"  instead. "nor" present in all our ISAs except mips16 which has an actual negate instruction.

Did that regression hit general MIPS code or just microMIPS? It's possible that we have a missing pattern for microMIPS in that case. I'll give this patch a whirl.


https://reviews.llvm.org/D25485





More information about the llvm-commits mailing list