SuccessChanges

Summary

  1. SCCP - silence static analyzer dyn_cast<StructType> null dereference (details)
  2. [RISCV] Rename FPRs and use Register arithmetic (details)
  3. FunctionImportGlobalProcessing::processGlobalForThinLTO - silence static (details)
  4. Change -march=systemz to triple and fix test (details)
Commit 623b0e6963e5cbf59e180a9aadb1da8e61d84b47 by llvm-dev
SCCP - silence static analyzer dyn_cast<StructType> null dereference
warning. NFCI.
The static analyzer is warning about a potential null dereference, but
we should be able to use cast<StructType> directly and if not assert
will fire for us.
llvm-svn: 373095
The file was modifiedllvm/lib/Transforms/Scalar/SCCP.cpp (diff)
Commit aae97bfd0c323edef5363ce296c9f6f79db410cf by luismarques
[RISCV] Rename FPRs and use Register arithmetic
The new names for FPRs ensure that the Register values within the same
class are enumerated consecutively (the order is determined by the
`LessRecordRegister` function object). Where there were tables mapping
between 32- and 64-bit FPRs
(and vice versa) this patch replaces them with Register arithmetic. The
enumeration order between different register classes is expected to
continue to be arbitrary, although it does impact the conversion from
the (overloaded) asm FPR names to Register values, and therefore might
require updates to the target if the sorting algorithm is changed.
Static asserts were added to ensure that changes to the ordering that
would impact the current implementation are detected.
Differential Revision: https://reviews.llvm.org/D67423
llvm-svn: 373096
The file was modifiedllvm/lib/Target/RISCV/RISCVRegisterInfo.td (diff)
The file was modifiedllvm/lib/Target/RISCV/AsmParser/RISCVAsmParser.cpp (diff)
The file was modifiedllvm/lib/Target/RISCV/RISCVISelLowering.cpp (diff)
The file was modifiedllvm/lib/Target/RISCV/RISCVCallingConv.td (diff)
The file was modifiedllvm/lib/Target/RISCV/RISCVRegisterInfo.cpp (diff)
The file was modifiedllvm/lib/Target/RISCV/Disassembler/RISCVDisassembler.cpp (diff)
Commit f71f23d14d4353f823ddf93680ddac86e95819d7 by llvm-dev
FunctionImportGlobalProcessing::processGlobalForThinLTO - silence static
analyzer dyn_cast<FunctionSummary> null dereference warning. NFCI.
The static analyzer is warning about a potential null dereference, but
we should be able to use cast<FunctionSummary> directly and if not
assert will fire for us.
llvm-svn: 373097
The file was modifiedllvm/lib/Transforms/Utils/FunctionImportUtils.cpp (diff)
Commit d8e38b9b888b6c18edb41a77e59cbbf86c25bdea by kai.nacke
Change -march=systemz to triple and fix test
These two test cases use -march=systemz instead of a triple. In
particular, the used file format is then based on the default host
triple. This leads to different behaviour on different platforms.
The SystemZ implementation uses the integrated assembler for a long time
now. The mature-mc-support test can be fully enabled.
Differential Revision: https://reviews.llvm.org/D68129
llvm-svn: 373098
The file was modifiedllvm/test/CodeGen/SystemZ/tail-call-mem-intrinsics.ll (diff)
The file was modifiedllvm/test/CodeGen/SystemZ/mature-mc-support.ll (diff)