SuccessChanges

Summary

  1. [X86] Fix -Wmisleading-indentation after D71892 (details)
  2. [X86] Custom widen strict v2f32->v2i32 by padding with zeroes. (details)
  3. [X86] Custom widen 128/256-bit vXi32 fp_to_uint on avx512f targets (details)
Commit c4a97b64e3a7e7a75b796a9ef01d4b4981468071 by maskray
[X86] Fix -Wmisleading-indentation after D71892
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
Commit 50fb3957c1906d2e971a192e5bd69b40bc5a3919 by craig.topper
[X86] Custom widen strict v2f32->v2i32 by padding with zeroes.
For non-strict, generic type legalization will take care of this, but
that doesn't happen currently for strict nodes.
The file was modifiedllvm/test/CodeGen/X86/vector-constrained-fp-intrinsics.ll
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
The file was modifiedllvm/test/CodeGen/X86/vec-strict-fptoint-128.ll
Commit ecbaf152f8fe2b5b8ebc633541e15158984f4db4 by craig.topper
[X86] Custom widen 128/256-bit vXi32 fp_to_uint on avx512f targets
without avx512vl. Similar for vXi64 on avx512dq without avx512vl.
Summary: Previously we did this with isel patterns that used garbage in
the widened part of the source. But that's not valid for strictfp. So
now we custom widen and use zeroes for the widened elemens for strictfp.
This replaces D71864.
Reviewers: RKSimon, spatel, andrew.w.kaylor, pengfei, LiuChen3
Reviewed By: pengfei
Subscribers: hiraditya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D71879
The file was modifiedllvm/test/CodeGen/X86/vec-strict-fptoint-128.ll
The file was modifiedllvm/lib/Target/X86/X86InstrAVX512.td
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
The file was modifiedllvm/test/CodeGen/X86/vec-strict-fptoint-256.ll
The file was modifiedllvm/lib/Target/X86/X86TargetTransformInfo.cpp