Bjorn Pettersson
b280ee1dd7
[test] Use -passes=instsimplify instead of -instsimplify in a number of tests. NFC
...
Another step moving away from the deprecated syntax of specifying
pass pipeline in opt.
Differential Revision: https://reviews.llvm.org/D119080
2022-02-07 14:26:58 +01:00
Juneyoung Lee
864dda5fd5
[InstSimplify] Add tests that fold instructions with poison operands (NFC)
2020-12-02 01:01:59 +09:00
Eric Christopher
cee313d288
Revert "Temporarily Revert "Add basic loop fusion pass.""
...
The reversion apparently deleted the test/Transforms directory.
Will be re-reverting again.
llvm-svn: 358552
2019-04-17 04:52:47 +00:00
Eric Christopher
a863435128
Temporarily Revert "Add basic loop fusion pass."
...
As it's causing some bot failures (and per request from kbarton).
This reverts commit r358543/ab70da07286e618016e78247e4a24fcb84077fda.
llvm-svn: 358546
2019-04-17 02:12:23 +00:00
Chen Zheng
fdf13ef342
[InstSimplify] simplify add instruction if two operands are negative
...
Differential Revision: https://reviews.llvm.org/D49216
llvm-svn: 336881
2018-07-12 03:06:04 +00:00
Sanjay Patel
14eeb5a5c0
[InstSimplify] add/move tests for add folds; NFC
...
isKnownNegation() is currently proposed as part of D48754,
but it could be used to make InstSimplify stronger independently
of any abs() improvements.
llvm-svn: 336822
2018-07-11 16:52:18 +00:00