Changes

Summary

  1. [Test] Add some simple tests where IndVars cannot remove a check in loop (details)
  2. [X86][ISel] Lowering FROUND(f16) and FROUNDEVEN(f16) (details)
Commit e787678cef03348fddce84d45963fbe4d6570d8e by mkazantsev
[Test] Add some simple tests where IndVars cannot remove a check in loop

Previously I've added tests that require context for inference, but it
seems tha SCEV can't prove same facts even when the context isn't required.
The file was modifiedllvm/test/Transforms/IndVarSimplify/outer_phi.ll
Commit 902ec6142a6f662f9e5c11710f489063eb2aa1d8 by freddy.ye
[X86][ISel] Lowering FROUND(f16) and FROUNDEVEN(f16)

When AVX512FP16 is enabled, FROUND(f16) cannot be dealt with
TypeLegalize, and no libcall in libm is ready for fround(f16) now.
FROUNDEVEN(f16) has related instruction in AVX512FP16.

Reviewed By: craig.topper

Differential Revision: https://reviews.llvm.org/D110312
The file was modifiedllvm/test/CodeGen/X86/fp-round.ll
The file was modifiedllvm/test/CodeGen/X86/fp-strict-scalar-round-fp16.ll
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
The file was modifiedllvm/test/CodeGen/X86/fp-roundeven.ll