5 Commits

Author SHA1 Message Date
Bjorn Pettersson
8f527e08a5 [test][AggressiveInstCombine] Use -passes syntax in RUN lines. NFC 2022-10-13 10:44:37 +02:00
Anton Afanasyev
0dd8401371 [AggressiveInstCombine] Add phi nodes support to TruncInstCombine
Expand `TruncInstCombine` to handle loops by adding `phi` nodes
to expression graph.

Reviewed by: RKSimon, lebedev.ri

(recommit of fixed f84d732f, reverted by 8ad6d5e after sanitizer breakage)

Differential Revision: https://reviews.llvm.org/D109817
2022-02-25 07:57:35 +03:00
Anton Afanasyev
8ad6d5e465 Revert "[AggressiveInstCombine] Add phi nodes support to TruncInstCombine"
This reverts commit f84d732f8c1737940afab71824134f41f37a048b.
Breakage of "sanitizer-x86_64-linux-fast"
2022-02-23 15:56:11 +03:00
Anton Afanasyev
f84d732f8c [AggressiveInstCombine] Add phi nodes support to TruncInstCombine
Expand `TruncInstCombine` to handle loops by adding `phi` nodes
to expression graph.

Reviewed by: RKSimon, lebedev.ri

Differential Revision: https://reviews.llvm.org/D109817
2022-02-23 14:01:55 +03:00
Anton Afanasyev
ea249489f5 [Test][AggressiveInstCombine] Add test for phi instruction 2022-02-23 12:50:50 +03:00