LLVM Weekly - #263, January 14th 2019

Welcome to the two hundred and sixty-third issue of LLVM Weekly, a weekly newsletter (published every Monday) covering developments in LLVM, Clang, and related projects. LLVM Weekly is brought to you by Alex Bradbury. Subscribe to future issues at http://llvmweekly.org and pass it on to anyone else you think may be interested. Please send any tips or feedback to asb@asbradbury.org, or @llvmweekly or @asbradbury on Twitter.

News and articles from around the web

Apple have released sourcekit-lsp, a Language Server Protocol implementation for Swift and C-based languages. It is built on top of sourcekitd and clangd.

The 5th LLVM/GCC Social in Nanjing will take place on Jan 19th.

Stephen Kelly has written about his recent presentation on refactoring with Clang tooling.

On the mailing lists

LLVM commits

Loop invariant code motion (LICM) was updated to use MemorySSA to do sinking and hoisting. r350879.

The RISC-V backend gained patterns for the RV64I SLLW/SRLW/SRAW instructions and for the standard RV64M instruction set extension. r350992, r350993.

gn files were added for lib/Target/{AArch64,ARM,WebAssembly,PowerPC}. r350499. r350500, r350628, r350629.

An implementation of speculative load hardening for AArch64 was introduced, building on the AArch64SpeculationHardening pass. r350729.

llvm-objdump learned the -z/--disassemble-zeroes command-line option. r350823.

Clang commits

clang-tidy gained a new checker to indicate certain cases where a member function could be marked as [[nodiscard]] . r350760.

clangd no longer uses using namespace llvm . r350531.

Other project commits