Chen Zheng
|
33a61d719c
|
fix comment typo - NFC
llvm-svn: 350587
|
2019-01-08 00:40:01 +00:00 |
Chen Zheng
|
4952e668f8
|
[InstCombine] canonicalize MUL with NEG operand
-X * Y --> -(X * Y)
X * -Y --> -(X * Y)
Differential Revision: https://reviews.llvm.org/D55961
llvm-svn: 350185
|
2019-01-01 01:09:20 +00:00 |
Sanjay Patel
|
47579b21e2
|
[InstCombine] fix complexity canonicalization with fake unary vector ops
This is a preliminary step to avoid regressions when we add
an actual 'fneg' instruction to IR. See D52934 and D53205.
llvm-svn: 344458
|
2018-10-13 16:15:37 +00:00 |
Sanjay Patel
|
3d22fbd785
|
[InstCombine] add tests for operand complexity canonicalization; NFC
The tests with undef vector elements demonstrate a hole in
the current pattern matching.
llvm-svn: 344456
|
2018-10-13 16:02:47 +00:00 |