We already do this for ISD::TRUNCATE, but we can do the same for X86ISD::VTRUNC
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Paths
| Differential D68432
[X86] Add DAG combine to form saturating VTRUNCUS/VTRUNCS from VTRUNC ClosedPublic Authored by craig.topper on Oct 3 2019, 3:47 PM.
Details Summary We already do this for ISD::TRUNCATE, but we can do the same for X86ISD::VTRUNC
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Oct 4 2019, 8:55 AM Closed by commit rL373765: [X86] Add DAG combine to form saturating VTRUNCUS/VTRUNCS from VTRUNC (authored by ctopper). · Explain WhyOct 4 2019, 10:51 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 223247 llvm/trunk/lib/Target/X86/X86ISelLowering.cpp
llvm/trunk/test/CodeGen/X86/avx512-trunc.ll
llvm/trunk/test/CodeGen/X86/masked_store_trunc_ssat.ll
llvm/trunk/test/CodeGen/X86/masked_store_trunc_usat.ll
llvm/trunk/test/CodeGen/X86/vector-trunc-packus.ll
llvm/trunk/test/CodeGen/X86/vector-trunc-ssat.ll
llvm/trunk/test/CodeGen/X86/vector-trunc-usat.ll
|