[PATCH] D29525: MachineCopyPropagation: Do not consider undef operands as clobbers

Quentin Colombet via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 3 18:06:24 PST 2017

qcolombet accepted this revision.
qcolombet added a comment.
This revision is now accepted and ready to land.

Great if the ExecutionDepsFixer has been fixed!

LGTM modulo having the original test case a bit more constrained.

Comment at: test/CodeGen/X86/copy-propagation.ll:16
 ; CHECK: vmovapd	%xmm0, [[TMP:%xmm[0-9]+]]
-; Crush xmm0.
-; CHECK-NEXT: vxorps %xmm0, %xmm0, %xmm0
 ; CHECK: movl	$339772768, %e[[INDIRECT_CALL2:[a-z]+]]
 ; Set TMP in the first argument of the second call.
Could you do a CHECK-NEXT of that move or a CHECK-NOT of xor



More information about the llvm-commits mailing list