[PowerPC] Implement atomic NAND operations as actual NAND
authorUlrich Weigand <ulrich.weigand@de.ibm.com>
Tue, 8 Jul 2014 16:16:02 +0000 (16:16 +0000)
committerUlrich Weigand <ulrich.weigand@de.ibm.com>
Tue, 8 Jul 2014 16:16:02 +0000 (16:16 +0000)
commit862d8b8d06fb155378530ba26a73574f73134f26
treef137840f15688f1a8c9d17c8d434c676e16e8c7d
parent5fc40fe28c2ce0be01b395fef992bc0ab634d6bf
[PowerPC] Implement atomic NAND operations as actual NAND

This changes the implementation of atomic NAND operations
from "a & ~b" (compatible with GCC < 4.4) to actual "~(a & b)"
(compatible with GCC >= 4.4).

This is in line with the common-code and ARM back-end change
implemented in r212433.

llvm-svn: 212547
llvm/lib/Target/PowerPC/PPCISelLowering.cpp