[PATCH] D11393: [X86] Allow X86::COND_NE_OR_P and X86::COND_NP_OR_E to be reversed.

David Li via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 11 12:55:36 PST 2016


davidxl added a comment.

Restart discussion on this thread:

For the motivating example where two conditional branches have different targets,

jne	.BB1
jnp	.BB2
.BB1:
...
.BB2:
...

Is it possible to teach AnalyzeBranch to recognize the pattern -- with opcode COND_NE_OR_P ?


http://reviews.llvm.org/D11393





More information about the llvm-commits mailing list