[PATCH] D54836: [X86] Add DAG combine to combine a v8i32->v8i16 truncate with a packuswb that truncates v8i16->v8i8.
Simon Pilgrim via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun Dec 2 02:32:32 PST 2018
RKSimon added inline comments.
================
Comment at: lib/Target/X86/X86ISelLowering.cpp:35383
+ // create a larger truncate.
+ if (Subtarget.hasAVX512() && Opcode == X86ISD::PACKUS &&
+ N0.getOpcode() == ISD::TRUNCATE && N1.isUndef() && VT == MVT::v16i8 &&
----------------
Can the PACKSS equivalent occur as well?
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D54836/new/
https://reviews.llvm.org/D54836
More information about the llvm-commits
mailing list