Add predicates for checking whether targets have free FNEG and FABS operations, and...
authorOwen Anderson <resistor@mac.com>
Mon, 2 Apr 2012 22:10:29 +0000 (22:10 +0000)
committerOwen Anderson <resistor@mac.com>
Mon, 2 Apr 2012 22:10:29 +0000 (22:10 +0000)
commit29f60f359b59032108cdabcde91217b6784c4e13
treef0cf6d663860ff858955be8e0208910675fd94c8
parentbe9fe49b179a89a659fe786d64b176d2b360bb4a
Add predicates for checking whether targets have free FNEG and FABS operations, and prevent the DAGCombiner from turning them into bitwise operations if they do.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@153901 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Target/TargetLowering.h
lib/CodeGen/SelectionDAG/DAGCombiner.cpp