SuccessChanges

Summary

  1. [profile] Disable instrprof-get-filename-merge-mode.c on Windows (details)
  2. Move endian constant from Host.h to SwapByteOrder.h, prune include (details)
  3. [profile] Use -fPIC -shared in a test instead of -dynamiclib (details)
  4. New tautological warning for bitwise-or with non-zero constant always (details)
  5. Prune Analysis includes from SelectionDAG.h (details)
  6. Prune a LegacyDivergenceAnalysis and MachineLoopInfo include each (details)
Commit f6a46304174e7a31f5f18d18a5a3a24eaddf35f0 by Vedant Kumar
[profile] Disable instrprof-get-filename-merge-mode.c on Windows
The Windows bots are failing with:
clang: warning: argument unused during compilation: '-dynamiclib'
[-Wunused-command-line-argument] llvm-svn: 375315
The file was removedcompiler-rt/test/profile/instrprof-get-filename-merge-mode.c
The file was addedcompiler-rt/test/profile/Posix/instrprof-get-filename-merge-mode.c
Commit 90c64a3456b972432a21ef043b205c18a91e011b by rnk
Move endian constant from Host.h to SwapByteOrder.h, prune include
Works on this dependency chain:
ArrayRef.h ->
Hashing.h -> --CUT--
Host.h ->
StringMap.h / StringRef.h
ArrayRef is very popular, but Host.h is rarely needed. Move the
IsBigEndianHost constant to SwapByteOrder.h. Clients of that header are
more likely to need it.
llvm-svn: 375316
The file was modifiedclang/lib/Driver/ToolChains/Arch/AArch64.cpp
The file was modifiedllvm/lib/Support/Windows/WindowsSupport.h
The file was modifiedlld/include/lld/Common/LLVM.h
The file was modifiedllvm/include/llvm/Support/SHA1.h
The file was modifiedllvm/include/llvm/Support/Host.h
The file was modifiedllvm/lib/Target/X86/Disassembler/X86DisassemblerDecoder.cpp
The file was modifiedclang-tools-extra/clangd/FileDistance.h
The file was modifiedclang/lib/Driver/ToolChains/Arch/PPC.cpp
The file was modifiedllvm/include/llvm/Support/SwapByteOrder.h
The file was modifiedllvm/tools/llvm-exegesis/lib/RegisterValue.cpp
The file was modifiedlld/include/lld/Core/File.h
The file was modifiedlldb/include/lldb/Utility/UUID.h
The file was modifiedlld/tools/lld/lld.cpp
The file was modifiedlld/lib/ReaderWriter/MachO/DebugInfo.h
The file was modifiedllvm/include/llvm/ADT/Hashing.h
The file was modifiedclang/lib/Driver/ToolChains/Arch/ARM.cpp
The file was modifiedclang/lib/Driver/ToolChains/Arch/X86.cpp
The file was modifiedllvm/include/llvm/BinaryFormat/Wasm.h
The file was modifiedllvm/lib/ExecutionEngine/Orc/JITTargetMachineBuilder.cpp
Commit b081220cfd46965fa25dbf826cd3f42f4f9e54cd by Vedant Kumar
[profile] Use -fPIC -shared in a test instead of -dynamiclib
This is more portable than -dynamiclib. Also, fix the path to an input
file that broke when the test was moved in r375315.
llvm-svn: 375317
The file was modifiedcompiler-rt/test/profile/Posix/instrprof-get-filename-merge-mode.c
Commit 8b0d14a8f0cc085afa2a9c86c237da81c74517fc by rtrieu
New tautological warning for bitwise-or with non-zero constant always
true.
Taking a value and the bitwise-or it with a non-zero constant will
always result in a non-zero value. In a boolean context, this is always
true.
if (x | 0x4) {}  // always true, intended '&'
This patch creates a new warning group -Wtautological-bitwise-compare
for this warning. It also moves in the existing tautological bitwise
comparisons into this group. A few other changes were needed to the
CFGBuilder so that all bool contexts would be checked. The warnings in
-Wtautological-bitwise-compare will be off by default due to using the
CFG.
Fixes: https://bugs.llvm.org/show_bug.cgi?id=42666 Differential
Revision: https://reviews.llvm.org/D66046
llvm-svn: 375318
The file was modifiedclang/include/clang/Basic/DiagnosticGroups.td
The file was addedclang/test/SemaCXX/warn-bitwise-compare.cpp
The file was modifiedclang/include/clang/Analysis/CFG.h
The file was modifiedclang/lib/Analysis/CFG.cpp
The file was modifiedclang/lib/Sema/AnalysisBasedWarnings.cpp
The file was modifiedclang/test/Sema/warn-bitwise-compare.c
The file was modifiedclang/docs/ReleaseNotes.rst
The file was modifiedclang/include/clang/Basic/DiagnosticSemaKinds.td
Commit 0ad6c191deef592818d2381b16e1093a0006e7b5 by rnk
Prune Analysis includes from SelectionDAG.h
Only forward declarations are needed here. Follow-on to r375311.
llvm-svn: 375319
The file was modifiedllvm/lib/Target/X86/X86InstrInfo.cpp
The file was modifiedllvm/lib/Target/WebAssembly/WebAssemblyInstrInfo.cpp
The file was modifiedllvm/include/llvm/CodeGen/SelectionDAGISel.h
The file was modifiedllvm/lib/CodeGen/TargetInstrInfo.cpp
The file was modifiedllvm/include/llvm/CodeGen/SelectionDAG.h
The file was modifiedllvm/lib/CodeGen/DFAPacketizer.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/ScheduleDAGSDNodes.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/ScheduleDAGSDNodes.h
The file was modifiedllvm/lib/CodeGen/SelectionDAG/ScheduleDAGVLIW.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
The file was modifiedllvm/lib/CodeGen/ScheduleDAGInstrs.cpp
The file was modifiedllvm/lib/Target/X86/X86AvoidStoreForwardingBlocks.cpp
The file was modifiedllvm/include/llvm/CodeGen/ScheduleDAGInstrs.h
Commit 904cd3e06b980baa90c6cd6614321b904a05e162 by rnk
Prune a LegacyDivergenceAnalysis and MachineLoopInfo include each
Now X86ISelLowering doesn't depend on many IR analyses.
llvm-svn: 375320
The file was modifiedllvm/lib/CodeGen/ExecutionDomainFix.cpp
The file was modifiedllvm/include/llvm/CodeGen/TargetLowering.h
The file was modifiedllvm/lib/Target/WebAssembly/WebAssemblyCFGStackify.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/SelectionDAGAddressAnalysis.cpp
The file was modifiedllvm/lib/Target/BPF/BPFMIChecking.cpp
The file was modifiedllvm/lib/Target/BPF/BPFMIPeephole.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp
The file was modifiedllvm/lib/Target/X86/X86TargetMachine.h
The file was modifiedllvm/lib/CodeGen/BreakFalseDeps.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
The file was modifiedllvm/lib/CodeGen/SwiftErrorValueTracking.cpp
The file was modifiedllvm/lib/Target/ARM/ARMBasicBlockInfo.h
The file was modifiedllvm/lib/Target/WebAssembly/WebAssemblyLateEHPrepare.cpp
The file was modifiedllvm/include/llvm/CodeGen/FunctionLoweringInfo.h
The file was modifiedllvm/lib/Target/ARM/ARMMachineFunctionInfo.h
The file was modifiedllvm/lib/Target/MSP430/MSP430BranchSelector.cpp
The file was modifiedllvm/lib/Target/ARM/ARMBasicBlockInfo.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/FunctionLoweringInfo.cpp
The file was modifiedllvm/lib/Target/ARM/MVEVPTBlockPass.cpp
The file was modifiedllvm/lib/Target/AMDGPU/SIISelLowering.cpp
The file was modifiedllvm/include/llvm/CodeGen/TargetInstrInfo.h
The file was modifiedllvm/lib/Target/AMDGPU/GCNILPSched.cpp
The file was modifiedllvm/lib/Target/BPF/BPFMISimplifyPatchable.cpp
The file was modifiedllvm/lib/Target/SystemZ/SystemZMachineScheduler.cpp
The file was modifiedllvm/lib/Target/WebAssembly/WebAssemblyFixIrreducibleControlFlow.cpp
The file was modifiedllvm/lib/Target/AArch64/AArch64SpeculationHardening.cpp