mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-03 19:02:35 +00:00
[X86] Add isel pattern for (v8i16 (sext (v8i1))) with DQI and no BWI.
Our lowering that tries to avoid this sign extend can be defeated by the DAG combine folding it with a truncate. The pattern needs to extend to an v8i32 then truncate back down to v8i16. llvm-svn: 342830
This commit is contained in:
parent
42725f99d0
commit
be00efe529
@ -9687,6 +9687,11 @@ let Predicates = [HasDQI, NoBWI] in {
|
||||
(VPMOVDWZrr (v16i32 (VPMOVM2DZrr VK16:$src)))>;
|
||||
}
|
||||
|
||||
let Predicates = [HasDQI, NoBWI, HasVLX] in {
|
||||
def : Pat<(v8i16 (sext (v8i1 VK8:$src))),
|
||||
(VPMOVDWZ256rr (v8i32 (VPMOVM2DZ256rr VK8:$src)))>;
|
||||
}
|
||||
|
||||
//===----------------------------------------------------------------------===//
|
||||
// AVX-512 - COMPRESS and EXPAND
|
||||
//
|
||||
|
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user