Oliver Stannard d9d2703b71 Fix optimisations of SELECT_CC which assumed result is boolean
Some optimisations in DAGCombiner cause miscompilations for targets that use
TargetLowering::UndefinedBooleanContent, because they assume that the results
of a SELECT_CC node are boolean values, and can be safely ANDed, ORed and
XORed. These optimisations are only valid for targets that use
ZeroOrOneBooleanContent or ZeroOrNegativeOneBooleanContent.

This is a follow-up to D6210/r221693.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@222123 91177308-0d34-0410-b5e6-96231b3b80d8
2014-11-17 10:49:31 +00:00
..
2014-09-02 22:45:13 +00:00
2014-08-26 12:47:26 +00:00
2014-11-14 22:45:23 +00:00
2014-09-02 22:46:18 +00:00
2014-11-03 17:38:00 +00:00
2014-08-20 10:40:20 +00:00
2014-09-23 23:18:01 +00:00