Sanjay Patel
6a7e958a42
[InstCombine] try to reduce more shuffles with bitcasted operand
...
This is the widen mask element sibling to D76844.
shuf (bitcast X), undef, Mask --> bitcast X'
http://volta.cs.utah.edu:8080/z/4dt3V8
2020-04-14 15:03:59 -04:00
Sanjay Patel
3c87fba27f
[InstCombine] add tests for bitcasted shuffle operand; NFC
...
Similar to D76844, but this is casted from wider element type.
See D77881.
2020-04-14 13:57:30 -04:00
Sanjay Patel
f4448063cc
[InstCombine] try to reduce shuffle with bitcasted operand
...
shuf (bitcast X), undef, Mask --> bitcast X'
The 'inverse shuffles' test (shuf_bitcast_operand) is a pattern
in the motivating examples from PR35454:
https://bugs.llvm.org/show_bug.cgi?id=35454
(see also D76727)
We can deal with this class of patterns in generic instcombine
because we are not creating any new shuffles, just a bitcast.
Alive2 proof:
http://volta.cs.utah.edu:8080/z/mwDUZf
Differential Revision: https://reviews.llvm.org/D76844
2020-04-02 13:44:50 -04:00
Sanjay Patel
5237262feb
[InstCombine] add shuffle-with-bitcast-operand tests; NFC
2020-03-26 14:28:47 -04: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
Eugene Leviant
958fcd7502
InstCombine: fix extraction when performing vector/array punning
...
Differential revision: https://reviews.llvm.org/D29491
llvm-svn: 295429
2017-02-17 07:36:03 +00:00