diff options
author | Craig Topper <craig.topper@intel.com> | 2018-09-09 20:36:36 +0000 |
---|---|---|
committer | Craig Topper <craig.topper@intel.com> | 2018-09-09 20:36:36 +0000 |
commit | 3823516103e818734e82ba44cef455e344d356e1 (patch) | |
tree | 6578e7fc00b7ec01e4978014399040e439a97b5f /llvm/lib/Transforms/Utils/LoopUtils.cpp | |
parent | aadc93c8876bd732eddb48292bce8f9bb7e6b9b8 (diff) | |
download | llvm-3823516103e818734e82ba44cef455e344d356e1.zip llvm-3823516103e818734e82ba44cef455e344d356e1.tar.gz llvm-3823516103e818734e82ba44cef455e344d356e1.tar.bz2 |
[X86] Custom type legalize (v2i32 (fp_to_uint v2f64))) without avx512vl by widening to v4i32 and v4f64 instead of v8i32 and v8f64. Make it aware of x86-experimental-vector-widening-legalization
We have isel patterns for v4i32/v4f64 that artificially widen to v8i32/v8f64 so just use that.
If x86-experimental-vector-widening-legalization is enabled, we don't need any custom legalization and can just return. I've modified the test RUN lines to cover this case.
llvm-svn: 341765
Diffstat (limited to 'llvm/lib/Transforms/Utils/LoopUtils.cpp')
0 files changed, 0 insertions, 0 deletions