diff options
author | Craig Topper <craig.topper@intel.com> | 2017-11-28 23:56:02 +0000 |
---|---|---|
committer | Craig Topper <craig.topper@intel.com> | 2017-11-28 23:56:02 +0000 |
commit | 88ffb5d4d5c675afa013877f20922b928836b74f (patch) | |
tree | 40d13c5c45cd5c22f7831dff1c299b8409118fd3 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 3f749c2d4bb80b51d341fd6282a8e39e0e24a247 (diff) | |
download | bcm5719-llvm-88ffb5d4d5c675afa013877f20922b928836b74f.tar.gz bcm5719-llvm-88ffb5d4d5c675afa013877f20922b928836b74f.zip |
[X86] Mark ISD::FP_TO_UINT v16i8/v16i16 as Promote under AVX512 instead of legal. Fix infinite loop in op legalization when promotion requires 2 steps.
Previously we had an isel pattern to add the truncate. Instead use Promote to add the truncate to the DAG before isel.
The Promote legalization code had to be updated to prevent an infinite loop if promotion took multiple steps because it wasn't remembering the previously tried value.
llvm-svn: 319259
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions