SuccessChanges

Summary

  1. [Alignment] Migrate Attribute::getWith(Stack)Alignment (details)
  2. [clang-tools-extra] Fix overzealous linking of dylib to clangTidy (details)
  3. [InstCombine] fold a shifted bool zext to a select (2nd try) (details)
  4. [ARM][MVE] validForTailPredication insts (details)
Commit b65fa483058f1b4049c7201525779b4f49cceb80 by gchatelet
[Alignment] Migrate Attribute::getWith(Stack)Alignment
Summary: This is patch is part of a series to introduce an Alignment
type. See this thread for context:
http://lists.llvm.org/pipermail/llvm-dev/2019-July/133851.html See this
patch for the introduction of the type: https://reviews.llvm.org/D64790
Reviewers: courbet, jdoerfert
Reviewed By: courbet
Subscribers: arsenm, jvesely, nhaehnle, hiraditya, cfe-commits,
llvm-commits
Tags: #clang, #llvm
Differential Revision: https://reviews.llvm.org/D68792
llvm-svn: 374884
The file was modifiedllvm/lib/Transforms/IPO/Attributor.cpp (diff)
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUMachineFunction.cpp (diff)
The file was modifiedllvm/include/llvm/IR/IntrinsicInst.h (diff)
The file was modifiedllvm/test/CodeGen/MIR/AMDGPU/machine-function-info.ll (diff)
The file was modifiedllvm/lib/Target/AMDGPU/SIMachineFunctionInfo.cpp (diff)
The file was modifiedclang/lib/CodeGen/CGCall.cpp (diff)
The file was modifiedllvm/include/llvm/IR/Attributes.h (diff)
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPULowerKernelArguments.cpp (diff)
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUAsmPrinter.cpp (diff)
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUSubtarget.h (diff)
The file was modifiedllvm/test/CodeGen/MIR/AMDGPU/machine-function-info-no-ir.mir (diff)
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUSubtarget.cpp (diff)
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUISelLowering.cpp (diff)
The file was modifiedllvm/lib/IR/IRBuilder.cpp (diff)
The file was modifiedllvm/lib/IR/Core.cpp (diff)
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUHSAMetadataStreamer.cpp (diff)
The file was modifiedllvm/unittests/IR/AttributesTest.cpp (diff)
The file was modifiedllvm/lib/IR/Attributes.cpp (diff)
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUMachineFunction.h (diff)
Commit 9c9bd1657cbd3504ff719c14ece79ef2af0e0ea2 by mgorny
[clang-tools-extra] Fix overzealous linking of dylib to clangTidy
Fix accidentally making clangTidy library link to dylib.  This causes
libclang.so to also link to dylib which results in duplicate symbols
from shared and static libraries, and effectively to registering
command-line options twice.
Thanks to Sylvestre Ledru for noticing this and tracking it down to
r373786.  Fixes PR#43589.
Differential Revision: https://reviews.llvm.org/D68927
llvm-svn: 374885
The file was modifiedclang-tools-extra/clang-tidy/CMakeLists.txt (diff)
Commit 455ce7816ce4510ce1807e7ab5946e48c205c527 by spatel
[InstCombine] fold a shifted bool zext to a select (2nd try)
The 1st attempt at rL374828 inserted the code at the wrong position
(outside of the constant-shift-amount block). Trying again with an
additional test to verify const-ness.
For a constant shift amount, add the following fold. shl (zext (i1 X)),
ShAmt --> select (X, 1 << ShAmt, 0)
https://rise4fun.com/Alive/IZ9
Fixes PR42257.
Based on original patch by @zvi (Zvi Rackover)
Differential Revision: https://reviews.llvm.org/D63382
llvm-svn: 374886
The file was modifiedllvm/test/Transforms/InstCombine/and.ll (diff)
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineShifts.cpp (diff)
The file was modifiedllvm/test/Transforms/InstCombine/shift.ll (diff)
Commit ce39278f2575cc0b6481924e02a0fd8632b74aa8 by sam.parker
[ARM][MVE] validForTailPredication insts
Reverse the logic for valid tail predication instructions and create a
whitelist instead. Added other instruction groups that aren't obviously
safe:
- instructions that 'narrow' their result.
- lane moves.
- byte swapping instructions.
- interleaving loads and stores.
- cross-beat carries.
- top/bottom instructions.
- complex operations.
Hopefully we should be able to add more of these instructions to the
whitelist, once we have a more concrete idea of the transform.
Differential Revision: https://reviews.llvm.org/D67904
llvm-svn: 374887
The file was modifiedllvm/lib/Target/ARM/ARMInstrFormats.td (diff)
The file was modifiedllvm/lib/Target/ARM/ARMInstrMVE.td (diff)
The file was modifiedllvm/unittests/Target/ARM/CMakeLists.txt (diff)
The file was modifiedllvm/unittests/Target/ARM/MachineInstrTest.cpp (diff)
The file was modifiedllvm/lib/Target/ARM/MCTargetDesc/ARMBaseInfo.h (diff)