[LLVMdev] Possible missed optimization?

Borja Ferrer borja.ferav at gmail.com
Sat Sep 4 11:00:11 PDT 2010


Indeed, i've marked it as commutable:

let isCommutable = 1,
isTwoAddress = 1 in
def XORRdRr : FRdRr<0b0010,
                    0b01,
                    (outs GPR8:$dst),
                    (ins GPR8:$src1, GPR8:$src2),
                    "xor\t$dst, $src2",
                    [(set GPR8:$dst, (xor GPR8:$src1, GPR8:$src2))]>;
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20100904/60166a0b/attachment.html>


More information about the llvm-dev mailing list