FailedChanges

Summary

  1. [Reproducer] Improve reproducer help (NFC) (details)
  2. [AMDGPU] Remove -amdgpu-spill-sgpr-to-smem. (details)
  3. [Reproducer] XFAIL TestWorkingDir on Windows (details)
  4. [SampleFDO] Add profile remapping support for profile on-demand loading (details)
  5. [hwasan] Remove system allocator fallback. (details)
  6. [AMDGPU] move PHI nodes to AGPR class (details)
  7. hwasan: Add missing SANITIZER_INTERFACE_ATTRIBUTE on (details)
  8. gn build: Build compiler-rt code with -fvisibility=hidden. (details)
  9. LiveIntervals: Fix handleMoveUp with subreg def moving across a def (details)
  10. [profile] Do not cache __llvm_profile_get_filename result (details)
  11. DebugInfo: Render the canonical name of a class template specialization, (details)
  12. [c++20] Add CXXRewrittenBinaryOperator to represent a comparison (details)
  13. [c++20] Add rewriting from comparison operators to <=> / ==. (details)
  14. P1152R4: Fix deprecation warnings in libc++ testsuite and in uses of (details)
  15. [analyzer] Specify the C++ standard in more tests. (details)
  16. [hip][cuda] Fix the extended lambda name mangling issue. (details)
  17. [clang][driver] Print compilation phases with indentation. (details)
  18. Prune two MachineInstr.h includes, fix up deps (details)
  19. Skip (more) PExpect tests under ASAN, I can't get them to work reliably. (details)
  20. Sema: Create a no-op implicit cast for lvalue function conversions. (details)
  21. [profile] Disable instrprof-get-filename-merge-mode.c on Windows (details)
  22. Move endian constant from Host.h to SwapByteOrder.h, prune include (details)
  23. [profile] Use -fPIC -shared in a test instead of -dynamiclib (details)
  24. New tautological warning for bitwise-or with non-zero constant always (details)
  25. Prune Analysis includes from SelectionDAG.h (details)
Commit 64b7d95568607eac5336428a22e02f27b8663a79 by Jonas Devlieghere
[Reproducer] Improve reproducer help (NFC)
Provide a little more detail for the reproducer command.
llvm-svn: 375292
The file was modifiedlldb/source/Commands/CommandObjectReproducer.cpp
Commit a9aa4ec6a31c3c37796ca168b41f311b21359e19 by jay.foad
[AMDGPU] Remove -amdgpu-spill-sgpr-to-smem.
Summary: The implementation was never completed and never used except in
tests.
Reviewers: arsenm, mareko
Subscribers: qcolombet, kzhuravl, jvesely, wdng, nhaehnle, yaxunl,
dstuttard, tpr, t-tye, hiraditya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D69163
llvm-svn: 375293
The file was modifiedllvm/lib/Target/AMDGPU/SIRegisterInfo.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/spill-m0.ll
The file was modifiedllvm/lib/Target/AMDGPU/SIRegisterInfo.h
The file was modifiedllvm/test/CodeGen/AMDGPU/basic-branch.ll
The file was removedllvm/test/CodeGen/AMDGPU/spill-to-smem-m0.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/si-spill-sgpr-stack.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/attr-amdgpu-num-sgpr.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/spill-wide-sgpr.ll
The file was removedllvm/test/CodeGen/AMDGPU/attr-amdgpu-num-sgpr-spill-to-smem.ll
Commit 06a2beae92f5d2adcd0143a6798918418c2ea325 by Jonas Devlieghere
[Reproducer] XFAIL TestWorkingDir on Windows
I'm having a hard time reproducing this and it's failing on the Windows
bot. Temporarily X-failing this test while I continue to try building
LLDB on Windows.
llvm-svn: 375294
The file was modifiedlldb/test/Shell/Reproducer/TestWorkingDir.test
Commit 8c8ec1f6868bd0f96801fabc55ea395d9d171f06 by wmi
[SampleFDO] Add profile remapping support for profile on-demand loading
used by ExtBinary format profile
Profile on-demand loading was added for ExtBinary format profile in
rL374233, but currently profile on-demand loading doesn't work well with
profile remapping. The patch adds the support.
Suppose a function in the current module has outline instance in the
profile. The function name in the module is different from the name of
the outline instance, but remapper knows the two names are equal. When
loading profile on-demand, the outline instance has to be loaded with
remapper's help.
At the same time SampleProfileReaderItaniumRemapper is changed from a
proxy of SampleProfileReader to a helper member in SampleProfileReader.
Differential Revision: https://reviews.llvm.org/D68901
llvm-svn: 375295
The file was modifiedllvm/lib/ProfileData/SampleProfReader.cpp
The file was modifiedllvm/unittests/ProfileData/SampleProfTest.cpp
The file was modifiedllvm/include/llvm/ProfileData/SampleProfReader.h
The file was modifiedllvm/lib/Transforms/IPO/SampleProfile.cpp
The file was modifiedllvm/test/Transforms/SampleProfile/remap.ll
Commit 0b7f320c3acb4ed75e5b3acf3460176b5b20b1aa by eugeni.stepanov
[hwasan] Remove system allocator fallback.
Summary: This has been an experiment with late malloc interposition,
made possible by a non-standard feature of the Android dynamic loader.
Reviewers: pcc, mmalcomson
Subscribers: srhines, #sanitizers, llvm-commits
Tags: #sanitizers, #llvm
Differential Revision: https://reviews.llvm.org/D69199
llvm-svn: 375296
The file was modifiedcompiler-rt/lib/hwasan/hwasan_interceptors.cpp
The file was removedcompiler-rt/test/hwasan/TestCases/Posix/system-allocator-fallback.cpp
The file was modifiedcompiler-rt/lib/hwasan/hwasan_allocator.h
The file was modifiedcompiler-rt/lib/hwasan/hwasan_allocator.cpp
Commit 0fab220eb5882ef451d039d5251a0a1298121f63 by Stanislav.Mekhanoshin
[AMDGPU] move PHI nodes to AGPR class
If all uses of a PHI are in AGPR register class we should avoid unneeded
copies via VGPRs.
Differential Revision: https://reviews.llvm.org/D69200
llvm-svn: 375297
The file was addedllvm/test/CodeGen/AMDGPU/mfma-loop.ll
The file was modifiedllvm/lib/Target/AMDGPU/SIFixSGPRCopies.cpp
Commit 33b758d2af312d02f2b5ef6915e62c6bb06e944e by peter
hwasan: Add missing SANITIZER_INTERFACE_ATTRIBUTE on
__hwasan_personality_wrapper.
Differential Revision: https://reviews.llvm.org/D69201
llvm-svn: 375298
The file was modifiedcompiler-rt/lib/hwasan/hwasan_exceptions.cpp
Commit 3b113a2be6dc9a614bd5c95138a6c34d44fe67d9 by peter
gn build: Build compiler-rt code with -fvisibility=hidden.
This matches the CMake build.
Differential Revision: https://reviews.llvm.org/D69202
llvm-svn: 375299
The file was modifiedllvm/utils/gn/build/BUILD.gn
Commit d4274f0174ff152490195fa2a65e4087deae3dd4 by Matthew.Arsenault
LiveIntervals: Fix handleMoveUp with subreg def moving across a def
If a subregister def was moved across another subregister def and
another use, the main range was not correctly updated. The end point of
the moved interval ended too early and missed the use from theh other
lanes in the subreg def.
llvm-svn: 375300
The file was addedllvm/test/CodeGen/AMDGPU/sched-handleMoveUp-subreg-def-across-subreg-def.mir
The file was modifiedllvm/lib/CodeGen/LiveIntervals.cpp
The file was modifiedllvm/unittests/MI/LiveIntervalTest.cpp
Commit 937241b0d9e8f896d4387292f01abf18ba9f9fcb by Vedant Kumar
[profile] Do not cache __llvm_profile_get_filename result
When the %m filename pattern is used, the filename is unique to each
image, so the cached value is wrong.
It struck me that the full filename isn't something that's recomputed
often, so perhaps it doesn't need to be cached at all. David Li pointed
out we can go further and just hide lprofCurFilename. This may regress
workflows that depend on using the set-filename API to change filenames
across all loaded DSOs, but this is expected to be very rare.
rdar://55137071
Differential Revision: https://reviews.llvm.org/D69137
llvm-svn: 375301
The file was addedcompiler-rt/test/profile/Inputs/instrprof-get-filename-dso.c
The file was removedcompiler-rt/test/profile/Posix/instrprof-set-filename-shared.test
The file was modifiedcompiler-rt/lib/profile/InstrProfiling.h
The file was modifiedcompiler-rt/lib/profile/InstrProfilingFile.c
The file was addedcompiler-rt/test/profile/instrprof-get-filename-merge-mode.c
The file was modifiedclang/test/Driver/darwin-ld.c
The file was modifiedclang/lib/Driver/ToolChains/Darwin.cpp
Commit 9fdd09a4ccd01feb8e00be22b17e944e46807746 by dblaikie
DebugInfo: Render the canonical name of a class template specialization,
even when nested in another class template specialization
Differential Revision: https://reviews.llvm.org/D63031
llvm-svn: 375304
The file was modifiedclang/test/CodeGenCXX/debug-info-template-explicit-specialization.cpp
The file was modifiedclang/lib/AST/TypePrinter.cpp
The file was modifiedclang/lib/CodeGen/CGDebugInfo.cpp
Commit 778dc0f1d49230f53401ae0c190fe460bda4ffd1 by richard-llvm
[c++20] Add CXXRewrittenBinaryOperator to represent a comparison
operator that is rewritten as a call to multiple other operators.
No functionality change yet: nothing creates these expressions.
llvm-svn: 375305
The file was modifiedclang/lib/CodeGen/CGExprComplex.cpp
The file was modifiedclang/include/clang/Basic/StmtNodes.td
The file was modifiedclang/lib/AST/ExprCXX.cpp
The file was modifiedclang/lib/Sema/TreeTransform.h
The file was modifiedclang/lib/AST/Expr.cpp
The file was modifiedclang/lib/CodeGen/CGExprScalar.cpp
The file was modifiedclang/lib/Sema/SemaExceptionSpec.cpp
The file was modifiedclang/include/clang/AST/RecursiveASTVisitor.h
The file was modifiedclang/lib/Serialization/ASTReaderStmt.cpp
The file was modifiedclang/tools/libclang/CXCursor.cpp
The file was modifiedclang/include/clang/AST/ExprCXX.h
The file was modifiedclang/lib/Serialization/ASTWriterStmt.cpp
The file was modifiedclang/include/clang/AST/Stmt.h
The file was modifiedclang/lib/AST/ItaniumMangle.cpp
The file was modifiedclang/lib/AST/StmtProfile.cpp
The file was modifiedclang/lib/AST/ExprConstant.cpp
The file was modifiedclang/include/clang/Serialization/ASTBitCodes.h
The file was modifiedclang/lib/Serialization/ASTWriter.cpp
The file was modifiedclang/lib/AST/StmtPrinter.cpp
The file was modifiedclang/lib/StaticAnalyzer/Core/ExprEngine.cpp
The file was modifiedclang/lib/CodeGen/CGExpr.cpp
The file was modifiedclang/lib/AST/ExprClassification.cpp
The file was modifiedclang/lib/CodeGen/CGExprAgg.cpp
Commit 974c8b7e2fde550fd87850d50695341101c38c2d by richard-llvm
[c++20] Add rewriting from comparison operators to <=> / ==.
This adds support for rewriting <, >, <=, and >= to a normal or reversed
call to operator<=>, for rewriting != to a normal or reversed call to
operator==, and for rewriting <=> and == to reversed forms of those same
operators.
Note that this is a breaking change for various C++17 code patterns,
including some in use in LLVM. The most common patterns (where an
operator== becomes ambiguous with a reversed form of itself) are still
accepted under this patch, as an extension (with a warning). I'm hopeful
that we can get the language rules fixed before C++20 ships, and the
extension warning is aimed primarily at providing data to inform that
decision.
llvm-svn: 375306
The file was modifiedclang/lib/Sema/TreeTransform.h
The file was modifiedclang/lib/AST/ExprCXX.cpp
The file was modifiedclang/lib/Sema/SemaOverload.cpp
The file was modifiedclang/lib/Sema/SemaTemplate.cpp
The file was modifiedclang/include/clang/AST/ExprCXX.h
The file was modifiedclang/test/SemaCXX/compare-cxx2a.cpp
The file was modifiedclang/test/PCH/cxx2a-compare.cpp
The file was modifiedclang/lib/Sema/SemaExpr.cpp
The file was modifiedclang/include/clang/Basic/DiagnosticSemaKinds.td
The file was modifiedclang/lib/Sema/SemaTemplateInstantiate.cpp
The file was modifiedclang/www/cxx_status.html
The file was addedclang/test/CXX/over/over.match/over.match.funcs/over.match.oper/p8-2a.cpp
The file was addedclang/test/CXX/over/over.match/over.match.funcs/over.match.oper/p3-2a.cpp
The file was modifiedclang/include/clang/Sema/Sema.h
The file was addedclang/test/CodeGenCXX/mangle-cxx2a.cpp
The file was addedclang/test/CXX/over/over.match/over.match.funcs/over.match.oper/p9-2a.cpp
The file was modifiedclang/test/SemaCXX/self-comparison.cpp
The file was modifiedclang/include/clang/Basic/OperatorKinds.h
The file was modifiedclang/include/clang/Sema/Overload.h
The file was modifiedclang/test/CXX/temp/temp.fct.spec/temp.deduct/p7.cpp
The file was modifiedclang/lib/Frontend/FrontendActions.cpp
Commit a9727033fb5fa229b520e0e0d973f68780bc5348 by richard-llvm
P1152R4: Fix deprecation warnings in libc++ testsuite and in uses of
is_invocable that would internally conjure up a deprecated function
type.
Summary: The implementation of P1152R4 in Clang has resulted in some
deprecation warnings appearing in the libc++ and libc++abi test suite.
Fix or suppress these warnings.
Reviewers: mclow.lists, EricWF
Subscribers: christof, ldionne, libcxx-commits
Tags: #libc
Differential Revision: https://reviews.llvm.org/D68879
llvm-svn: 375307
The file was modifiedlibcxx/include/__config
The file was modifiedlibcxx/test/std/utilities/meta/meta.trans/meta.trans.other/result_of11.pass.cpp
The file was modifiedlibcxxabi/test/unwind_06.pass.cpp
The file was modifiedlibcxx/include/type_traits
Commit b0914e7276bf97cb57f84fecc3a95e0d3ceeaf3e by Artem Dergachev
[analyzer] Specify the C++ standard in more tests.
Makes life easier for downstream developers with different default
standard.
llvm-svn: 375308
The file was modifiedclang/test/Analysis/track-control-dependency-conditions.cpp
The file was modifiedclang/test/Analysis/ctu-main.cpp
The file was modifiedclang/test/Analysis/new-ctor-null.cpp
The file was modifiedclang/test/Analysis/sizeofpack.cpp
The file was modifiedclang/test/Analysis/test-separate-retaincount.cpp
The file was modifiedclang/test/Analysis/cast-value-logic.cpp
The file was modifiedclang/test/Analysis/initialization.cpp
The file was modifiedclang/test/Analysis/osobject-retain-release.cpp
The file was modifiedclang/test/Analysis/plist-macros-with-expansion.cpp
The file was modifiedclang/test/Analysis/malloc.mm
The file was modifiedclang/test/Analysis/ctu-unknown-parts-in-triples.cpp
The file was modifiedclang/test/Analysis/unions.cpp
The file was modifiedclang/test/Analysis/deadstores-driverkit.cpp
The file was modifiedclang/test/Analysis/temporaries.mm
The file was modifiedclang/test/Analysis/ptr-sort.cpp
The file was modifiedclang/test/Analysis/inlining/placement-new-fp-suppression.cpp
The file was modifiedclang/test/Analysis/domtest.cpp
The file was modifiedclang/test/Analysis/rvo.cpp
The file was modifiedclang/test/Analysis/ctu-different-triples.cpp
The file was modifiedclang/test/Analysis/explain-svals.cpp
The file was modifiedclang/test/Analysis/ptr-iter.cpp
The file was modifiedclang/test/Analysis/mig.mm
The file was modifiedclang/test/Analysis/new-ctor-null-throw.cpp
The file was modifiedclang/test/Analysis/cast-value-notes.cpp
The file was modifiedclang/test/Analysis/osobjectcstylecastchecker_test.cpp
The file was modifiedclang/test/Analysis/inner-pointer.cpp
The file was modifiedclang/test/Analysis/stack-frame-context-revision.cpp
The file was modifiedclang/test/Analysis/cast-value-state-dump.cpp
The file was modifiedclang/test/Analysis/diagnostics/dtors.cpp
Commit 243ebfba17da72566ba29a891193e4814cbc4ef3 by michael.hliao
[hip][cuda] Fix the extended lambda name mangling issue.
Summary:
- HIP/CUDA host side needs to use device kernel symbol name to match the
device side binaries. Without a consistent naming between host- and
device-side compilations, it's risky that wrong device binaries are
executed. Consistent naming is usually not an issue until unnamed
types are used, especially the lambda. In this patch, the consistent
name mangling is addressed for the extended lambdas, i.e. the lambdas
annotated with `__device__`.
- In [Itanium C++ ABI][1], the mangling of the lambda is generally
unspecified unless, in certain cases, ODR rule is required to ensure
consisent naming cross TUs. The extended lambda is such a case as its
name may be part of a device kernel function, e.g., the extended
lambda is used as a template argument and etc. Thus, we need to force
ODR for extended lambdas as they are referenced in both device- and
host-side TUs. Furthermore, if a extended lambda is nested in other
(extended or not) lambdas, those lambdas are required to follow ODR
naming as well. This patch revises the current lambda mangle numbering
to force ODR from an extended lambda to all its parent lambdas.
- On the other side, the aforementioned ODR naming should not change
those lambdas' original linkages, i.e., we cannot replace the original
`internal` with `linkonce_odr`; otherwise, we may violate ODR in
general. This patch introduces a new field `HasKnownInternalLinkage`
in lambda data to decouple the current linkage calculation based on
mangling number assigned.
[1]: https://itanium-cxx-abi.github.io/cxx-abi/abi.html
Reviewers: tra, rsmith, yaxunl, martong, shafik
Subscribers: cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D68818
llvm-svn: 375309
The file was modifiedclang/include/clang/Sema/Sema.h
The file was modifiedclang/lib/AST/ASTImporter.cpp
The file was modifiedclang/lib/Sema/SemaLambda.cpp
The file was modifiedclang/lib/Sema/TreeTransform.h
The file was modifiedclang/include/clang/AST/DeclCXX.h
The file was modifiedclang/lib/Serialization/ASTReaderDecl.cpp
The file was modifiedclang/lib/Serialization/ASTWriter.cpp
The file was addedclang/test/CodeGenCUDA/unnamed-types.cu
The file was modifiedclang/lib/AST/Decl.cpp
Commit d7a487adfedb36c88f5ca24f5bcb93f140116106 by michael.hliao
[clang][driver] Print compilation phases with indentation.
Reviewers: tra, sfantao, echristo
Subscribers: cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D69124
llvm-svn: 375310
The file was modifiedclang/lib/Driver/Driver.cpp
Commit 1d7b41361ffa208291119cd145a62a366adac569 by rnk
Prune two MachineInstr.h includes, fix up deps
MachineInstr.h included AliasAnalysis.h, which includes a world of IR
constructs mostly unneeded in CodeGen. Prune it. Same for
DebugInfoMetadata.h.
Noticed with -ftime-trace.
llvm-svn: 375311
The file was modifiedllvm/lib/Target/AMDGPU/Utils/AMDGPUPALMetadata.cpp
The file was modifiedllvm/include/llvm/CodeGen/TargetInstrInfo.h
The file was modifiedllvm/lib/Target/ARM/ARMConstantPoolValue.cpp
The file was modifiedllvm/lib/CodeGen/LexicalScopes.cpp
The file was modifiedllvm/lib/Target/X86/X86InstrInfo.h
The file was modifiedllvm/lib/CodeGen/TargetFrameLoweringImpl.cpp
The file was modifiedllvm/lib/Target/AArch64/AArch64MachineFunctionInfo.h
The file was modifiedllvm/lib/CodeGen/MachineInstr.cpp
The file was modifiedllvm/lib/Target/Hexagon/HexagonVLIWPacketizer.cpp
The file was modifiedllvm/lib/CodeGen/ReachingDefAnalysis.cpp
The file was modifiedllvm/lib/CodeGen/GlobalISel/RegisterBank.cpp
The file was modifiedllvm/lib/Target/Hexagon/HexagonVLIWPacketizer.h
The file was modifiedllvm/lib/Target/AMDGPU/SIInstrInfo.h
The file was modifiedllvm/tools/llvm-exegesis/lib/Assembler.cpp
The file was modifiedllvm/include/llvm/CodeGen/MachineInstr.h
The file was modifiedllvm/lib/CodeGen/MIRVRegNamerUtils.cpp
The file was modifiedllvm/lib/Target/PowerPC/PPCInstrInfo.h
The file was modifiedllvm/lib/Target/WebAssembly/WebAssemblyInstrInfo.h
The file was modifiedllvm/lib/CodeGen/LiveVariables.cpp
The file was modifiedllvm/lib/CodeGen/MIRCanonicalizerPass.cpp
The file was modifiedllvm/lib/Target/Hexagon/RDFDeadCode.cpp
The file was modifiedllvm/include/llvm/CodeGen/DFAPacketizer.h
The file was modifiedllvm/include/llvm/CodeGen/TargetFrameLowering.h
Commit 0904f924012db8002eec3a0533e310c1e714cca4 by Adrian Prantl
Skip (more) PExpect tests under ASAN, I can't get them to work reliably.
llvm-svn: 375312
The file was modifiedlldb/packages/Python/lldbsuite/test/iohandler/completion/TestIOHandlerCompletion.py
Commit 766f15814a012e5e6522c4e0f93c094ca2408367 by peter
Sema: Create a no-op implicit cast for lvalue function conversions.
This fixes an assertion failure in the case where an implicit conversion
for a function call involves an lvalue function conversion, and makes
the AST for initializations involving implicit lvalue function
conversions more accurate.
Differential Revision: https://reviews.llvm.org/D66437
llvm-svn: 375313
The file was modifiedclang/include/clang/Sema/Sema.h
The file was modifiedclang/lib/Sema/SemaExprCXX.cpp
The file was addedclang/test/CodeGenCXX/implicit-function-conversion.cpp
The file was modifiedclang/lib/Sema/SemaInit.cpp
The file was modifiedclang/lib/Sema/SemaOverload.cpp
The file was modifiedclang/lib/Sema/SemaCast.cpp
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 modifiedllvm/include/llvm/ADT/Hashing.h
The file was modifiedclang/lib/Driver/ToolChains/Arch/PPC.cpp
The file was modifiedllvm/lib/Target/X86/Disassembler/X86DisassemblerDecoder.cpp
The file was modifiedllvm/include/llvm/Support/Host.h
The file was modifiedclang/lib/Driver/ToolChains/Arch/ARM.cpp
The file was modifiedllvm/include/llvm/Support/SwapByteOrder.h
The file was modifiedllvm/lib/ExecutionEngine/Orc/JITTargetMachineBuilder.cpp
The file was modifiedllvm/lib/Support/Windows/WindowsSupport.h
The file was modifiedlld/include/lld/Common/LLVM.h
The file was modifiedclang/lib/Driver/ToolChains/Arch/AArch64.cpp
The file was modifiedlld/include/lld/Core/File.h
The file was modifiedclang-tools-extra/clangd/FileDistance.h
The file was modifiedllvm/include/llvm/BinaryFormat/Wasm.h
The file was modifiedlld/lib/ReaderWriter/MachO/DebugInfo.h
The file was modifiedllvm/include/llvm/Support/SHA1.h
The file was modifiedlld/tools/lld/lld.cpp
The file was modifiedllvm/tools/llvm-exegesis/lib/RegisterValue.cpp
The file was modifiedclang/lib/Driver/ToolChains/Arch/X86.cpp
The file was modifiedlldb/include/lldb/Utility/UUID.h
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/lib/Analysis/CFG.cpp
The file was modifiedclang/test/Sema/warn-bitwise-compare.c
The file was modifiedclang/docs/ReleaseNotes.rst
The file was modifiedclang/include/clang/Analysis/CFG.h
The file was modifiedclang/include/clang/Basic/DiagnosticGroups.td
The file was modifiedclang/include/clang/Basic/DiagnosticSemaKinds.td
The file was addedclang/test/SemaCXX/warn-bitwise-compare.cpp
The file was modifiedclang/lib/Sema/AnalysisBasedWarnings.cpp
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/WebAssembly/WebAssemblyInstrInfo.cpp
The file was modifiedllvm/lib/CodeGen/TargetInstrInfo.cpp
The file was modifiedllvm/include/llvm/CodeGen/SelectionDAG.h
The file was modifiedllvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
The file was modifiedllvm/lib/Target/X86/X86InstrInfo.cpp
The file was modifiedllvm/lib/CodeGen/ScheduleDAGInstrs.cpp
The file was modifiedllvm/lib/Target/X86/X86AvoidStoreForwardingBlocks.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/ScheduleDAGSDNodes.cpp
The file was modifiedllvm/include/llvm/CodeGen/SelectionDAGISel.h
The file was modifiedllvm/lib/CodeGen/DFAPacketizer.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/ScheduleDAGSDNodes.h
The file was modifiedllvm/lib/CodeGen/SelectionDAG/ScheduleDAGVLIW.cpp
The file was modifiedllvm/include/llvm/CodeGen/ScheduleDAGInstrs.h