[PATCH] [X86] Special-case 2x CMOV when custom-inserting.
ahmed.bougacha at gmail.com
Mon Mar 2 14:28:31 PST 2015
Follow-up to http://reviews.llvm.org/D7634.
This lets us avoid a few copies that are otherwise hard to get rid of. My first approach was to add a CMOV2 node, but after discussing with Matthias, we agreed it's less hacky to teach the custom inserter to look at the next instruction. Mentioned that explicitly in the EmitWithCustomInserter comment.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 13584 bytes
Desc: not available
More information about the llvm-commits