SuccessChanges

Summary

  1. [FLANG] Generate error for invalid selector. (details)
  2. [AMDGPU] Simplify S_SETREG_B32 case in EmitInstrWithCustomInserter (details)
  3. [PowerPC] Fix STRICT_FRINT/STRICT_FNEARBYINT lowering (details)
Commit 5ec043eae1877add1cde2a7bd6e01ef64549a41d by inderjeet_kalra
[FLANG] Generate error for invalid selector.

Fix of PR47339

Differential Revision: https://reviews.llvm.org/D87073/new/
The file was modifiedflang/lib/Semantics/resolve-names.cpp (diff)
The file was modifiedflang/lib/Semantics/tools.cpp (diff)
The file was addedflang/test/Semantics/resolve95.f90
Commit 649bde488ce9b5c1143e718247f0eda461300a77 by jay.foad
[AMDGPU] Simplify S_SETREG_B32 case in EmitInstrWithCustomInserter

NFC.
The file was modifiedllvm/lib/Target/AMDGPU/SIISelLowering.cpp (diff)
Commit 88ff4d2ca1a0aaed6888152042256a0ef3fe863d by qiucofan
[PowerPC] Fix STRICT_FRINT/STRICT_FNEARBYINT lowering

In standard C library, both rint and nearbyint returns rounding result
in current rounding mode. But nearbyint never raises inexact exception.
On PowerPC, x(v|s)r(d|s)pic may modify FPSCR XX, raising inexact
exception. So we can't select constrained fnearbyint into xvrdpic.

One exception here is xsrqpi, which will not raise inexact exception, so
fnearbyint f128 is okay here.

Reviewed By: uweigand

Differential Revision: https://reviews.llvm.org/D87220
The file was modifiedclang/lib/CodeGen/CGBuiltin.cpp (diff)
The file was modifiedllvm/test/CodeGen/PowerPC/vector-constrained-fp-intrinsics.ll (diff)
The file was modifiedllvm/lib/Target/PowerPC/PPCInstrVSX.td (diff)
The file was modifiedllvm/lib/Target/PowerPC/PPCISelLowering.cpp (diff)
The file was modifiedllvm/test/CodeGen/PowerPC/fp-strict-round.ll (diff)
The file was modifiedclang/test/CodeGen/builtins-ppc-vsx.c (diff)
The file was modifiedclang/test/CodeGen/builtins-ppc-fpconstrained.c (diff)