SuccessChanges

Summary

  1. gn build: use better triple on windows (details)
  2. [FPEnv] Add constrained intrinsics for lrint and lround (details)
  3. Test commit (details)
  4. Fix sphinx warnings. (details)
  5. [LLVM-C] Add bindings to create macro debug info (details)
  6. AST - silence static analyzer getAs<> null dereference warnings. NFCI. (details)
  7. RewriteModernObjC - silence static analyzer getAs<> null dereference (details)
  8. [Mips] Fix evaluating J-format branch targets (details)
  9. [Mips] Always save RA when disabling frame pointer elimination (details)
  10. Regenerate ptr-rotate.ll . NFC (details)
  11. Fix another sphinx warning. (details)
  12. [clang] Add test for FindNextToken in Lexer. (details)
  13. Sema - silence static analyzer getAs<> null dereference warnings. NFCI. (details)
  14. Allow update_test_checks.py to not scrub names. (details)
Commit a1f5c258d6928de562afaf21f3e4308530ec75cc by nicolasweber
gn build: use better triple on windows
The CMake build uses "x86_64-pc-windows-msvc". The "-msvc" suffix is
important because e.g. clang/test/lit.cfg.py matches against the suffix
"windows-msvc" to compute the presence of the "ms-sdk" and the absence
of the "LP64" feature.
Differential Revision: https://reviews.llvm.org/D68572
llvm-svn: 373899
The file was modifiedllvm/utils/gn/secondary/llvm/triples.gni
Commit 1c3d19c82d93a00d11f0df03ff277411d134e061 by kevin.neal
[FPEnv] Add constrained intrinsics for lrint and lround
Earlier in the year intrinsics for lrint, llrint, lround and llround
were added to llvm. The constrained versions are now implemented here.
Reviewed by: andrew.w.kaylor, craig.topper, cameron.mcinally
Approved by: craig.topper Differential Revision:
https://reviews.llvm.org/D64746
llvm-svn: 373900
The file was modifiedllvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
The file was modifiedllvm/test/CodeGen/X86/fp-intrinsics.ll
The file was modifiedllvm/docs/LangRef.rst
The file was modifiedllvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
The file was modifiedllvm/lib/CodeGen/TargetLoweringBase.cpp
The file was modifiedllvm/include/llvm/CodeGen/ISDOpcodes.h
The file was modifiedllvm/include/llvm/IR/IntrinsicInst.h
The file was modifiedllvm/include/llvm/IR/Intrinsics.td
The file was modifiedllvm/include/llvm/Target/TargetSelectionDAG.td
The file was modifiedllvm/include/llvm/CodeGen/SelectionDAGNodes.h
The file was modifiedllvm/lib/IR/Verifier.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/SelectionDAGDumper.cpp
The file was modifiedllvm/include/llvm/CodeGen/TargetLowering.h
The file was modifiedllvm/lib/IR/IntrinsicInst.cpp
The file was modifiedllvm/test/Feature/fp-intrinsics.ll
Commit b5fbdf1f5e0efb131512097babbd35a9081b8023 by Mirko.Brkusanin
Test commit
Fix comment.
llvm-svn: 373901
The file was modifiedllvm/lib/Target/Mips/MipsSEISelDAGToDAG.h
Commit a6fc72fba9dc3cc5d02236190df9d661563ddfd7 by kevin.neal
Fix sphinx warnings.
Differential Revision: https://reviews.llvm.org/D64746
llvm-svn: 373902
The file was modifiedllvm/docs/LangRef.rst
Commit b63db94fa54789d8241b16e05f2c9d9959afe297 by whitequark
[LLVM-C] Add bindings to create macro debug info
Summary: The C API doesn't have the bindings to create macro debug
information.
Reviewers: whitequark, CodaFi, deadalnix
Reviewed By: whitequark
Subscribers: aprantl, hiraditya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D58334
llvm-svn: 373903
The file was modifiedllvm/include/llvm-c/DebugInfo.h
The file was modifiedllvm/test/Bindings/llvm-c/debug_info.ll
The file was modifiedllvm/tools/llvm-c-test/debuginfo.c
The file was modifiedllvm/lib/IR/DebugInfo.cpp
Commit 3459a4c770bacf10bced00758bb2b70c4c504207 by llvm-dev
AST - silence static analyzer getAs<> null dereference warnings. NFCI.
The static analyzer is warning about potential null dereferences, but in
these cases we should be able to use castAs<> directly and if not assert
will fire for us.
llvm-svn: 373904
The file was modifiedclang/lib/AST/Mangle.cpp
The file was modifiedclang/lib/AST/Interp/Program.cpp
The file was modifiedclang/lib/AST/StmtPrinter.cpp
The file was modifiedclang/lib/AST/TypePrinter.cpp
The file was modifiedclang/lib/AST/ExprCXX.cpp
The file was modifiedclang/lib/AST/TemplateBase.cpp
Commit 8dc1700979bc630e6bd8b0912cfc034814e67c7f by llvm-dev
RewriteModernObjC - silence static analyzer getAs<> null dereference
warnings. NFCI.
The static analyzer is warning about potential null dereferences, but in
these cases we should be able to use castAs<> directly and if not assert
will fire for us.
llvm-svn: 373905
The file was modifiedclang/lib/Frontend/Rewrite/RewriteModernObjC.cpp
Commit 19ede2f53b78472c3bc3536f00609d22253a7d52 by simon
[Mips] Fix evaluating J-format branch targets
J/JAL/JALX/JALS are absolute branches, but stay within the current 256
MB-aligned region, so we must include the high bits of the instruction
address when calculating the branch target.
Patch by James Clarke.
Differential Revision: https://reviews.llvm.org/D68548
llvm-svn: 373906
The file was modifiedllvm/lib/Target/Mips/MCTargetDesc/MipsMCTargetDesc.cpp
The file was addedllvm/test/MC/Mips/micromips-jump-pc-region.s
The file was addedllvm/test/MC/Mips/mips-jump-pc-region.s
Commit 55ac7458280dddf253a235b2180d8053d5b05d0c by simon
[Mips] Always save RA when disabling frame pointer elimination
This ensures that frame-based unwinding will continue to work when
calling a noreturn function; there is not much use having the caller's
frame pointer saved if you don't also have the caller's program counter.
Patch by James Clarke.
Differential Revision: https://reviews.llvm.org/D68542
llvm-svn: 373907
The file was addedllvm/test/CodeGen/Mips/no-frame-pointer-elim.ll
The file was modifiedllvm/lib/Target/Mips/MipsSEFrameLowering.cpp
The file was modifiedllvm/test/CodeGen/Mips/cconv/vector.ll
The file was modifiedllvm/test/CodeGen/Mips/frame-address.ll
The file was modifiedllvm/test/CodeGen/Mips/v2i16tof32.ll
The file was modifiedllvm/test/CodeGen/Mips/dynamic-stack-realignment.ll
The file was modifiedllvm/test/CodeGen/Mips/tnaked.ll
Commit a6a70415c85056ffd3f0b8506a67089365b0322f by deadalnix
Regenerate ptr-rotate.ll . NFC
llvm-svn: 373908
The file was modifiedllvm/test/CodeGen/X86/ptr-rotate.ll
Commit 9f4de84eb0e0f69de66e5fdf99b63678264f3726 by kevin.neal
Fix another sphinx warning.
Differential Revision: https://reviews.llvm.org/D64746
llvm-svn: 373909
The file was modifiedllvm/docs/LangRef.rst
Commit edf5027689c5b63c94262c17a7b8a87de9c55fb1 by usx
[clang] Add test for FindNextToken in Lexer.
Reviewers: ilya-biryukov
Subscribers: cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D68565
llvm-svn: 373910
The file was modifiedclang/unittests/Lex/LexerTest.cpp
Commit dc4d908d6ebdee57f65e5b82bf598f45439e8f76 by llvm-dev
Sema - silence static analyzer getAs<> null dereference warnings. NFCI.
The static analyzer is warning about potential null dereferences, but in
these cases we should be able to use castAs<> directly and if not assert
will fire for us.
llvm-svn: 373911
The file was modifiedclang/lib/Sema/SemaCoroutine.cpp
The file was modifiedclang/lib/Sema/SemaAccess.cpp
The file was modifiedclang/lib/Sema/SemaChecking.cpp
The file was modifiedclang/lib/Sema/SemaDecl.cpp
Commit a14ffc7eb741de4fd7484350d11947dea40991fd by greened
Allow update_test_checks.py to not scrub names.
Add a --preserve-names option to tell the script not to replace IR
names. Sometimes tests want those names.  For example if a test is
looking for a modification to an existing instruction we'll want to make
the names.
Differential Revision: https://reviews.llvm.org/D68081
llvm-svn: 373912
The file was modifiedllvm/utils/UpdateTestChecks/common.py
The file was modifiedllvm/utils/update_test_checks.py