Commit Graph

5 Commits

Author SHA1 Message Date
Craig Topper 2d6042937b [SelectionDAGBuilder] Add SPF_NABS support to visitSelect
We currently don't match this which limits the effectiveness of D91120 until
InstCombine starts canonicalizing to llvm.abs. This should be easy to remove
if/when we remove the SPF_ABS handling.

Differential Revision: https://reviews.llvm.org/D92118
2020-11-25 14:54:26 -08:00
Kai Luo da3bc99bdd [PowerPC] Pre-commit more tests for `select` codegen. NFC. 2020-11-24 06:32:38 +00:00
Kai Luo 96ff53fbae [PowerPC] Add test case for negated abs. NFC. 2020-11-13 08:06:31 +00:00
Kai Luo 1c19900f94 [PowerPC] Add RUN line for powerpc 32-bit. NFC. 2020-10-09 00:29:01 +00:00
Kai Luo dd3ba72066 [PowerPC] Add tests for `select` patterns. NFC. 2020-09-28 06:11:40 +00:00