PACKUSWB converts Signed word to Unsigned byte, (the same about DW) and it can't be used for umin+truncate pattern.
AVX-512 VPMOVUS* instructions fit the pattern since they convert Unsigned to Unsigned.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
Other than the comment about the deleted test cases, LGTM
../test/CodeGen/X86/avx-trunc.ll | ||
---|---|---|
43 | I suggest you move these deleted functions to a separate file name pr#.ll with CHECK-NOT's |
I suggest you move these deleted functions to a separate file name pr#.ll with CHECK-NOT's