SuccessChanges

Changes from Git (git http://labmaster3.local/git/llvm-project.git)

Summary

  1. Fix my use of the TARGET_OS_OSX TargetConditional. (details)
  2. Except, get the TARGET_OS_OSX check correct. (details)
  3. [X86] Use SelectionDAG::getAllOnesConstant to simplify some code. NFC (details)
  4. [X86] Turn vXi1 any_extends into sign_extends in PreprocessISelDAG and (details)
  5. [DebugInfo]: Reorderd the emission of debug_str section. (details)
  6. [lldb] removed no longer needed CMakeDependentOption (details)
  7. Fix the MC/WebAssembly/debug-info.ll test after 84e5760 (details)
  8. [Target][AArch64] Remove non-existing system registers ICH_VSEIR_EL2 & (details)
  9. Support -fstack-clash-protection for x86 (details)
  10. [ARM][ASMParser] Refuse equal RdHi/RdLo for s/umlal, smlsl, s/umull, (details)
  11. [ARM] Follow AACPS for preserving number of loads/stores of volatile (details)
  12. [lldb] Remove all 'clean' targets from test Makefiles (details)
  13. [ValueTracking] Update implied reasoning to accept expanded cmp (NFC). (details)
  14. [InstCombine] Precommit usub.with.overflow test for D74066. (details)
  15. [NFC] Introduce an API for MemOp (details)
  16. [analyzer] Small StreamChecker refactoring (NFC). (details)
  17. Revert "Support -fstack-clash-protection for x86" (details)
  18. Fix docs and comments for max_tokens_total pragma (details)
  19. [ValueTracking] usub(a, b) cannot overflow if a >= b. (details)
  20. [llvm-dwarfdump][Stats] Add the license header (details)
  21. clang-cl: Parse new MSVC flags /Qspectre-load and /Qspectre-load-cf (details)
  22. [OpenCL] Restrict addr space conversions in nested pointers (details)
  23. [AArch64] Predictably disassemble system registers with the same (details)
  24. [lldb] Improve error message when running static initializers in an (details)
  25. Rename prettyprinters test to llvm-support. (details)
  26. [AMDGPU][MC][DOC] Updated AMD GPU assembler syntax description. (details)
  27. [llvm-exegesis] Add a custom error for clustering (details)
  28. Recommit: "[llvm-exegesis] Improve error reporting" (details)
  29. Recommit: "[llvm-exegesis] Improve error reporting in Target.cpp" (details)
  30. [gn build] Port 446268a2234 (details)
  31. [NFC][ARM] Modified test with update script (details)
  32. Revert "[LLD][ELF][ARM] Do not substitute BL/BLX for non STT_FUNC (details)
  33. [mlir] Add NoSideEffect to Affine min max (details)
  34. [NFC][ARM] Update test (details)
  35. [OPENMP50]Add parsing/sema for acq_rel clause. (details)
  36. Re-land "[Clang][Driver] Remove -M group options ..." and "[Clang] Avoid (details)
  37. GlobalISel: Fix lowering of G_CTLZ/G_CTTZ (details)
  38. GlobalISel: Fix narrowing of G_CTPOP (details)
  39. [TableGen] Fix spurious type error in bit assignment. (details)
  40. AMDGPU/GlobalISel: Fix move s.buffer.load to VALU (details)
  41. [llvm-exegesis] Improve error reporting in BenchmarkRunner.cpp (details)
  42. [AsmPrinter] Print FP constant in hexadecimal form instead (details)
Commit e2fa760cdde2ebaa93cf1e959189dece3e949a68 by Jason Molenda
Fix my use of the TARGET_OS_OSX TargetConditional.
The file was modifiedlldb/tools/debugserver/source/RNBRemote.cpp
Commit f60de4cdf7b8ca1b22700a6325a61a9b0da6a54b by Jason Molenda
Except, get the TARGET_OS_OSX check correct.
The file was modifiedlldb/tools/debugserver/source/RNBRemote.cpp
Commit 3f62028f2f3a904e608945147ebddc7051c0d6f9 by craig.topper
[X86] Use SelectionDAG::getAllOnesConstant to simplify some code. NFC
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
Commit ae4e49868ac35dda3b02441a11f3cc3edf4d383b by craig.topper
[X86] Turn vXi1 any_extends into sign_extends in PreprocessISelDAG and
remove some isel patterns.
Similar to what we do for other vector any_extends, but instead of
zero_extend we need to use sign_extend.
The file was modifiedllvm/lib/Target/X86/X86InstrAVX512.td
The file was modifiedllvm/lib/Target/X86/X86ISelDAGToDAG.cpp
Commit 84e5760a1637d89c6c90a218abfe6d4d0ce85c97 by SourabhSingh.Tomar
[DebugInfo]: Reorderd the emission of debug_str section.
Summary: This patch reorders the emission of debug_str section, so that
string can come after macros. This is necessary for macro forms like
DW_MACRO_define_strp, which emits macro as a string in debug_str
section.
The file was modifiedllvm/test/DebugInfo/MIR/X86/dbg-stack-value-range.mir
The file was modifiedllvm/test/DebugInfo/X86/stringpool.ll
The file was modifiedllvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
Commit b89131cdda5871731a9139664aef2b70c6d72bbd by kkleine
[lldb] removed no longer needed CMakeDependentOption
Summary: In D66791 I've introduced this [[
https://cmake.org/cmake/help/latest/module/CMakeDependentOption.html |
`CMakeDependentOption` ]] but in D71306 @JDevlieghere has changed the
way optional dependencies are handled in LLDB. Today there's no
occurence of
`cmake_dependent_option` inside the lldb source tree.
That's why this include can be removed.
Reviewers: JDevlieghere, labath
Reviewed By: labath
Subscribers: labath, mgorny, lldb-commits, JDevlieghere
Tags: #lldb
Differential Revision: https://reviews.llvm.org/D74160
The file was modifiedlldb/cmake/modules/LLDBConfig.cmake
Commit 81c9df102314d61e54a738a16004fd434de7ee40 by hans
Fix the MC/WebAssembly/debug-info.ll test after 84e5760
The file was modifiedllvm/test/MC/WebAssembly/debug-info.ll
Commit 56d81d4580940377a0e3963c4920e70d62eb5620 by pierre.vanhoutryve
[Target][AArch64] Remove non-existing system registers ICH_VSEIR_EL2 &
ICC_SEIEN_EL1 from AArch64 backend
Differential Revision: https://reviews.llvm.org/D74118
The file was modifiedllvm/test/MC/AArch64/gicv3-regs.s
The file was modifiedllvm/test/MC/Disassembler/AArch64/gicv3-regs.txt
The file was modifiedllvm/lib/Target/AArch64/AArch64SystemOperands.td
Commit 39f50da2a357a8f685b3540246c5d762734e035f by sguelton
Support -fstack-clash-protection for x86
Implement protection against the stack clash attack [0] through inline
stack probing.
Probe stack allocation every PAGE_SIZE during frame lowering or dynamic
allocation to make sure the page guard, if any, is touched when touching
the stack, in a similar manner to GCC[1].
This extends the existing `probe-stack' mechanism with a special value
`inline-asm'. Technically the former uses function call before stack
allocation while this patch provides inlined stack probes and chunk
allocation.
Only implemented for x86.
[0] https://www.qualys.com/2017/06/19/stack-clash/stack-clash.txt
[1] https://gcc.gnu.org/ml/gcc-patches/2017-07/msg00556.html
Differential Revision: https://reviews.llvm.org/D68720
The file was addedllvm/test/CodeGen/X86/stack-clash-medium.ll
The file was addedllvm/test/CodeGen/X86/stack-clash-small.ll
The file was modifiedclang/include/clang/Basic/TargetInfo.h
The file was modifiedllvm/lib/Target/X86/X86InstrInfo.td
The file was addedllvm/test/CodeGen/X86/stack-clash-medium-natural-probes.ll
The file was modifiedclang/docs/ClangCommandLineReference.rst
The file was addedllvm/test/CodeGen/X86/stack-clash-dynamic-alloca.ll
The file was modifiedclang/include/clang/Basic/DiagnosticCommonKinds.td
The file was modifiedllvm/lib/Target/X86/X86FrameLowering.h
The file was modifiedclang/lib/Driver/ToolChains/Clang.cpp
The file was modifiedclang/include/clang/Basic/CodeGenOptions.def
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.h
The file was addedllvm/test/CodeGen/X86/stack-clash-no-free-probe.ll
The file was modifiedclang/include/clang/Driver/CC1Options.td
The file was modifiedclang/include/clang/Driver/Options.td
The file was addedclang/test/CodeGen/stack-clash-protection.c
The file was modifiedllvm/lib/Target/X86/X86InstrCompiler.td
The file was modifiedllvm/docs/ReleaseNotes.rst
The file was addedllvm/test/CodeGen/X86/stack-clash-large.ll
The file was modifiedllvm/lib/Target/X86/X86FrameLowering.cpp
The file was modifiedclang/lib/Basic/Targets/X86.h
The file was modifiedclang/docs/ReleaseNotes.rst
The file was modifiedclang/lib/Frontend/CompilerInvocation.cpp
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
The file was addedclang/test/Driver/stack-clash-protection.c
The file was modifiedllvm/include/llvm/CodeGen/TargetLowering.h
The file was modifiedllvm/lib/Target/X86/X86CallFrameOptimization.cpp
The file was addedllvm/test/CodeGen/X86/stack-clash-unknown-call.ll
The file was addedllvm/test/CodeGen/X86/stack-clash-medium-natural-probes-mutliple-objects.ll
The file was modifiedclang/lib/CodeGen/CodeGenModule.cpp
The file was modifiedclang/lib/CodeGen/CGStmt.cpp
Commit e8c3a6c2606abdbf4f207c8b22e0f532d6247564 by pierre.vanhoutryve
[ARM][ASMParser] Refuse equal RdHi/RdLo for s/umlal, smlsl, s/umull,
umaal
Differential Revision: https://reviews.llvm.org/D74120
The file was addedllvm/test/MC/ARM/equal-rdhi-rdlo-diagnostics.s
The file was modifiedllvm/test/MC/ARM/v8_IT_manual.s
The file was modifiedllvm/lib/Target/ARM/AsmParser/ARMAsmParser.cpp
Commit 9d869180c4adba42d68c14dab51fba8093ccf91c by diogo.sampaio
[ARM] Follow AACPS for preserving number of loads/stores of volatile
bit-fields
Summary: Following the AAPCS, every store to a volatile bit-field
requires to generate one load of that field, even if all the bits are
going to be replaced. This patch allows the user to opt-in in following
such rule, whenever the a.
AAPCS Release 2019Q1.1
(https://static.docs.arm.com/ihi0042/g/aapcs32.pdf) section 8.1 Data
Types, page 35, paragraph: Volatile bit-fields – preserving number and
width of container accesses
``` When a volatile bit-field is written, and its container does not
overlap with any non-bit-field member, its container must be read
exactly once and written exactly once using the access width appropriate
to the type of the container. The two accesses are not atomic.
```
Reviewers: lebedev.ri, ostannard, jfb, eli.friedman
Reviewed By: jfb
Subscribers: rsmith, rjmccall, dexonsmith, kristof.beyls, jfb,
cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D67399
The file was modifiedclang/lib/CodeGen/CGExpr.cpp
The file was modifiedclang/test/CodeGen/aapcs-bitfield.c
The file was modifiedclang/include/clang/Basic/CodeGenOptions.def
The file was modifiedclang/lib/Frontend/CompilerInvocation.cpp
The file was modifiedclang/include/clang/Driver/Options.td
Commit 68cc9f80a6bfd7b88a761d29c757d0ec6544e126 by Raphael Isemann
[lldb] Remove all 'clean' targets from test Makefiles
Summary: To my knowledge we don't actually use or need these rules. And
if we need them then there is probably a better way to implement this
than having all these random regexes.
Reviewers: labath, JDevlieghere
Reviewed By: labath, JDevlieghere
Subscribers: jingham, lldb-commits
Tags: #lldb
Differential Revision: https://reviews.llvm.org/D74126
The file was modifiedlldb/packages/Python/lldbsuite/test/lang/cpp/overriden-methods/Makefile
The file was modifiedlldb/packages/Python/lldbsuite/test/python_api/findvalue_duplist/Makefile
The file was modifiedlldb/packages/Python/lldbsuite/test/functionalities/tail_call_frames/cross_dso/Makefile
The file was modifiedlldb/packages/Python/lldbsuite/test/commands/expression/call-function/Makefile
The file was modifiedlldb/packages/Python/lldbsuite/test/lang/cpp/stl/Makefile
The file was modifiedlldb/packages/Python/lldbsuite/test/python_api/formatters/Makefile
The file was modifiedlldb/packages/Python/lldbsuite/test/lang/cpp/enum_types/Makefile
The file was modifiedlldb/packages/Python/lldbsuite/test/macosx/universal/Makefile
The file was modifiedlldb/packages/Python/lldbsuite/test/linux/sepdebugsymlink/Makefile
The file was modifiedlldb/packages/Python/lldbsuite/test/lang/objc/objc-ivar-stripped/Makefile
The file was modifiedlldb/packages/Python/lldbsuite/test/lang/cpp/unicode-literals/Makefile
The file was modifiedlldb/packages/Python/lldbsuite/test/lang/objc/objc-static-method-stripped/Makefile
The file was modifiedlldb/packages/Python/lldbsuite/test/lang/cpp/wchar_t/Makefile
The file was modifiedlldb/packages/Python/lldbsuite/test/linux/mix-dwo-and-regular-objects/Makefile
The file was modifiedlldb/packages/Python/lldbsuite/test/macosx/find-app-in-bundle/Makefile
The file was modifiedlldb/packages/Python/lldbsuite/test/functionalities/target_var/Makefile
The file was modifiedlldb/packages/Python/lldbsuite/test/functionalities/data-formatter/synthupdate/Makefile
The file was modifiedlldb/packages/Python/lldbsuite/test/functionalities/breakpoint/comp_dir_symlink/Makefile
The file was modifiedlldb/packages/Python/lldbsuite/test/python_api/sbvalue_persist/Makefile
The file was modifiedlldb/packages/Python/lldbsuite/test/functionalities/memory-region/Makefile
The file was modifiedlldb/packages/Python/lldbsuite/test/lang/cpp/char1632_t/Makefile
The file was modifiedlldb/packages/Python/lldbsuite/test/source-manager/Makefile
The file was modifiedlldb/packages/Python/lldbsuite/test/linux/add-symbols/Makefile
The file was modifiedlldb/packages/Python/lldbsuite/test/lang/c/conflicting-symbol/Makefile
The file was modifiedlldb/packages/Python/lldbsuite/test/api/multithreaded/Makefile
Commit 8d5e76ac303a20e62aaeed78d4761c5cb66abfe3 by flo
[ValueTracking] Update implied reasoning to accept expanded cmp (NFC).
This patch adds versions of isImpliedCondition and
isImpliedByDomCondition that take a predicate, LHS and RHS operands as
instead of a Value representing the condition.
This allows using those functions to check conditions without having a
concrete ICmp instruction.
Reviewers: nikic, RKSimon, lebedev.ri, spatel
Reviewed By: nikic
Differential Revision: https://reviews.llvm.org/D74065
The file was modifiedllvm/include/llvm/Analysis/ValueTracking.h
The file was modifiedllvm/lib/Analysis/ValueTracking.cpp
Commit 89ca4b9ef22424d063c75daf6785e4484baff645 by flo
[InstCombine] Precommit usub.with.overflow test for D74066.
The file was addedllvm/test/Transforms/InstCombine/usub-overflow-known-by-implied-cond.ll
Commit f85d3408e6e3e7710032abfaabdecd02ee0b5ced by gchatelet
[NFC] Introduce an API for MemOp
Summary: This patch introduces an API for MemOp in order to simplify and
tighten the client code.
Reviewers: courbet
Subscribers: arsenm, nemanjai, jvesely, nhaehnle, hiraditya, kbarton,
jsji, kerbowa, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D73964
The file was modifiedllvm/lib/Target/Hexagon/HexagonISelLowering.cpp
The file was modifiedllvm/lib/Target/ARM/ARMISelLowering.cpp
The file was modifiedllvm/include/llvm/CodeGen/TargetLowering.h
The file was modifiedllvm/lib/Target/AMDGPU/SIISelLowering.cpp
The file was modifiedllvm/lib/CodeGen/GlobalISel/CombinerHelper.cpp
The file was modifiedllvm/lib/Target/AArch64/AArch64ISelLowering.cpp
The file was modifiedllvm/lib/Target/PowerPC/PPCISelLowering.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
Commit c4f0f8ec41fddb5c3501ef3c708ee4c75fbea742 by 1.int32
[analyzer] Small StreamChecker refactoring (NFC).
Reviewers: Szelethus
Reviewed By: Szelethus
Subscribers: xazax.hun, baloghadamsoftware, szepet, a.sidorin,
mikhail.ramalho, donat.nagy, Charusso, dkrupp, Szelethus, gamesh411,
cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D73350
The file was modifiedclang/lib/StaticAnalyzer/Checkers/StreamChecker.cpp
Commit f6d98429fcdba97988fa1e3ec10dc2ca943dd0da by sguelton
Revert "Support -fstack-clash-protection for x86"
This reverts commit 39f50da2a357a8f685b3540246c5d762734e035f.
The -fstack-clash-protection is being passed to the linker too, which is
not intended.
Reverting and fixing that in a later commit.
The file was modifiedllvm/lib/Target/X86/X86InstrCompiler.td
The file was modifiedllvm/lib/Target/X86/X86InstrInfo.td
The file was modifiedllvm/docs/ReleaseNotes.rst
The file was removedllvm/test/CodeGen/X86/stack-clash-dynamic-alloca.ll
The file was modifiedclang/include/clang/Basic/TargetInfo.h
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
The file was modifiedllvm/lib/Target/X86/X86FrameLowering.h
The file was modifiedllvm/lib/Target/X86/X86FrameLowering.cpp
The file was modifiedllvm/include/llvm/CodeGen/TargetLowering.h
The file was modifiedclang/lib/CodeGen/CGStmt.cpp
The file was modifiedclang/include/clang/Driver/CC1Options.td
The file was modifiedclang/lib/Frontend/CompilerInvocation.cpp
The file was removedclang/test/Driver/stack-clash-protection.c
The file was modifiedclang/lib/CodeGen/CodeGenModule.cpp
The file was removedllvm/test/CodeGen/X86/stack-clash-small.ll
The file was removedllvm/test/CodeGen/X86/stack-clash-medium-natural-probes-mutliple-objects.ll
The file was modifiedclang/include/clang/Basic/CodeGenOptions.def
The file was modifiedclang/lib/Driver/ToolChains/Clang.cpp
The file was modifiedclang/lib/Basic/Targets/X86.h
The file was removedllvm/test/CodeGen/X86/stack-clash-large.ll
The file was removedllvm/test/CodeGen/X86/stack-clash-no-free-probe.ll
The file was removedllvm/test/CodeGen/X86/stack-clash-medium.ll
The file was modifiedclang/include/clang/Basic/DiagnosticCommonKinds.td
The file was modifiedclang/docs/ReleaseNotes.rst
The file was modifiedclang/include/clang/Driver/Options.td
The file was modifiedclang/docs/ClangCommandLineReference.rst
The file was modifiedllvm/lib/Target/X86/X86CallFrameOptimization.cpp
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.h
The file was removedllvm/test/CodeGen/X86/stack-clash-unknown-call.ll
The file was removedclang/test/CodeGen/stack-clash-protection.c
The file was removedllvm/test/CodeGen/X86/stack-clash-medium-natural-probes.ll
Commit 74734e809ac778beb01776ee207643184c09c2a0 by hans
Fix docs and comments for max_tokens_total pragma
The file was modifiedclang/include/clang/Basic/DiagnosticGroups.td
The file was modifiedclang/lib/Parse/ParsePragma.cpp
Commit 14ef87bda67d53f351217c4522150e41fb5695e8 by flo
[ValueTracking] usub(a, b) cannot overflow if a >= b.
If we know that a >= b (unsigned), usub.with.overflow(a, b) cannot
overflow. Similarly, if b > a, the same expression overflows.
Reviewers: nikic, RKSimon, lebedev.ri, spatel
Reviewed By: nikic, Gerolf
Differential Revision: https://reviews.llvm.org/D74066
The file was modifiedllvm/lib/Analysis/ValueTracking.cpp
The file was modifiedllvm/test/Transforms/InstCombine/usub-overflow-known-by-implied-cond.ll
Commit d173cb1db73add8e563663838e630e72723c3f92 by djordje.todorovic
[llvm-dwarfdump][Stats] Add the license header
Add the License header into the Statistics.cpp.
Differential Revision: https://reviews.llvm.org/D74207
The file was modifiedllvm/tools/llvm-dwarfdump/Statistics.cpp
Commit 64bc627b8878dd77fc3a85007e2ced0a515c77d3 by hans
clang-cl: Parse new MSVC flags /Qspectre-load and /Qspectre-load-cf
See
https://github.com/MicrosoftDocs/cpp-docs/commit/2fdf0ba0bf8d3875c754776ca1084654135cb710
The file was modifiedclang/test/Driver/cl-options.c
The file was modifiedclang/include/clang/Driver/CLCompatOptions.td
Commit 6064f426a18304e16b51cc79e74c9c2d55ef5a9c by anastasia.stulova
[OpenCL] Restrict addr space conversions in nested pointers
Address space conversion changes pointer representation. This commit
disallows such conversions when they are not legal i.e. for the nested
pointers even with compatible address spaces. Because the address space
conversion in the nested levels can't be generated to modify the
pointers correctly. The behavior implemented is as follows:
- Any implicit conversions of nested pointers with different
address spaces is rejected.
- Any conversion of address spaces in nested pointers in safe
casts (e.g. const_cast or static_cast) is rejected.
- Conversion in low level C-style or reinterpret_cast is accepted
but with a warning (this aligns with OpenCL C behavior).
Fixes PR39674
Differential Revision: https://reviews.llvm.org/D73360
The file was modifiedclang/test/SemaOpenCL/address-spaces-conversions-cl2.0.cl
The file was modifiedclang/test/SemaOpenCL/address-spaces.cl
The file was addedclang/test/SemaOpenCLCXX/address-space-castoperators.cl
The file was modifiedclang/test/SemaOpenCLCXX/address-space-deduction.cl
The file was modifiedclang/include/clang/Basic/DiagnosticSemaKinds.td
The file was modifiedclang/lib/Sema/SemaOverload.cpp
The file was modifiedclang/lib/Sema/SemaCast.cpp
The file was modifiedclang/test/SemaOpenCLCXX/address-space-references.cl
Commit a2531081b3855ba8c60b340c1721e91d7288cfde by momchil.velikov
[AArch64] Predictably disassemble system registers with the same
encoding
The registers TRCEXTINSELR and TRCEXTINSELR0 are distinct registers,
defined by separate extension specifications (ETM and ETE,
respectively), yet they use the same encoding in MSR/MRS.
When performing a system register lookup by encoding, we would
essentially return a random one, depending on the number, relative
position in the TableGen file, whether the TableGen records for system
registers are named or not, and, if they are named, depending on record
(not register!) name as well.
This patch works around the issue by explictly checking for the
TRCEXTINSELR/TRCEXTINSELR0 encoding and always returning TRCEXTINSELR.
Differential Revision: https://reviews.llvm.org/D74074
The file was modifiedllvm/test/MC/Disassembler/AArch64/ete.txt
The file was modifiedllvm/test/MC/AArch64/trace-regs.s
The file was modifiedllvm/test/MC/AArch64/ete-sysregs.s
The file was modifiedllvm/test/MC/Disassembler/AArch64/trace-regs.txt
The file was modifiedllvm/lib/Target/AArch64/MCTargetDesc/AArch64InstPrinter.cpp
Commit 0082f1e0ccb215592d187b0a343608ad7813db30 by Raphael Isemann
[lldb] Improve error message when running static initializers in an
expression fails
The file was modifiedlldb/packages/Python/lldbsuite/test/commands/expression/static-initializers/TestStaticInitializers.py
The file was modifiedlldb/source/Plugins/ExpressionParser/Clang/ClangUserExpression.cpp
Commit 5a21d2bbb982e431fe0512af2438a1a5e1e13c29 by csigg
Rename prettyprinters test to llvm-support.
Summary: Make room for mlir-support pretty printers that I would like to
add next.
Reviewers: dblaikie
Reviewed By: dblaikie
Subscribers: merge_guards_bot, mgorny, rriddle, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D73726
The file was removeddebuginfo-tests/llvm-prettyprinters/gdb/prettyprinters.gdb
The file was addeddebuginfo-tests/llvm-prettyprinters/gdb/llvm-support.cpp
The file was removeddebuginfo-tests/llvm-prettyprinters/gdb/prettyprinters.cpp
The file was addeddebuginfo-tests/llvm-prettyprinters/gdb/llvm-support.gdb
The file was modifieddebuginfo-tests/CMakeLists.txt
Commit 2de2275cbdb8d123920f454f34ed4cfb4e1d2dcc by dmitry.preobrazhensky
[AMDGPU][MC][DOC] Updated AMD GPU assembler syntax description.
Summary of changes:
- updated description of gfx906 and gfx908;
- added description of gfx1011 and gfx1012 subtargets.
The file was modifiedllvm/docs/AMDGPU/AMDGPUAsmGFX906.rst
The file was modifiedllvm/docs/AMDGPUUsage.rst
The file was addedllvm/docs/AMDGPU/gfx1011_src32_0.rst
The file was addedllvm/docs/AMDGPU/gfx1011_type_dev.rst
The file was addedllvm/docs/AMDGPU/gfx1011_src32_1.rst
The file was addedllvm/docs/AMDGPU/gfx1011_vdst32_0.rst
The file was addedllvm/docs/AMDGPU/gfx1011_vsrc32_0.rst
The file was modifiedllvm/docs/AMDGPU/gfx908_saddr_flat_global.rst
The file was addedllvm/docs/AMDGPU/AMDGPUAsmGFX1011.rst
The file was modifiedllvm/docs/AMDGPU/AMDGPUAsmGFX908.rst
Commit 446268a223452254e054714f252705858fc47563 by Milos.Stojanovic
[llvm-exegesis] Add a custom error for clustering
All errors of type `Failure` are `StringError`s. In order for exit code
mapping to detect that specifically a clustering error has occurred it
needs to have a different type.
This patch also prepares D74085 where termination `report_fatal_error()`
will be replaced with emitting `StringError`s.
Differential Revision: https://reviews.llvm.org/D74124
The file was modifiedllvm/tools/llvm-exegesis/llvm-exegesis.cpp
The file was modifiedllvm/tools/llvm-exegesis/lib/Clustering.cpp
The file was addedllvm/tools/llvm-exegesis/lib/Error.cpp
The file was modifiedllvm/tools/llvm-exegesis/lib/Error.h
The file was modifiedllvm/tools/llvm-exegesis/lib/CMakeLists.txt
Commit 830af528a550d5fa90c6106a26e8365fa077aca0 by Milos.Stojanovic
Recommit: "[llvm-exegesis] Improve error reporting"
Summary: Commit b3576f60ebc8f660afad8120a72473be47517573 was reverted in
abe01e17f648a97666d4fbed41f0861686a17972 because it broke builds testing
without libpfm. A preparatory commit <commit_sha1> was added to enable
this recommit.
Original commit message:
Fix inconsistencies in error reporting created by mixing
`report_fatal_error()` and `ExitOnErr()`, and add additional information
to the error message to make it more user friendly. Minimize the use
`report_fatal_error()` because it's meant for use in very rare cases and
it results in low information density of the error messages.
Summary of the new design:
* For command line argument errors output `llvm-exegesis:
<error_message>`,
  which is consistent with the error output format emitted by the
backend
  which checks correctness of the command line arguments.
* For other errors the format `llvm-exegesis error: <error_message>` is
used.
** If the error occurred during file access `<error_message>` will have
   of two parts: `'<file_name>': <rest_of_the_error_message>`
Differential Revision: https://reviews.llvm.org/D74085
The file was modifiedllvm/tools/llvm-exegesis/llvm-exegesis.cpp
Commit 4bd40f71a72c3d9b7137bd9eb8767b6c140ae92e by Milos.Stojanovic
Recommit: "[llvm-exegesis] Improve error reporting in Target.cpp"
Summary: Commit 141915963b6ab36ee4e577d1b27673fa4d05b409 was reverted in
abe01e17f648a97666d4fbed41f0861686a17972 because it broke builds testing
without libpfm. A preparatory commit <commit_sha1> was added to enable
this recommit.
Original commit message:
Followup to D74085. Replace the use of `report_fatal_error()` with
returning the error to
`llvm-exegesis.cpp` and handling it there.
Differential Revision: https://reviews.llvm.org/D74113
The file was modifiedllvm/tools/llvm-exegesis/lib/Target.cpp
The file was modifiedllvm/tools/llvm-exegesis/llvm-exegesis.cpp
The file was modifiedllvm/tools/llvm-exegesis/lib/Target.h
Commit 1ea2723eb5d0a5f4ef0c15cc9d12b1ce1f710699 by llvmgnsyncbot
[gn build] Port 446268a2234
The file was modifiedllvm/utils/gn/secondary/llvm/tools/llvm-exegesis/lib/BUILD.gn
Commit 441cafb881aa362fba4190e3b4877fae86ba2fa4 by sam.parker
[NFC][ARM] Modified test with update script
The file was modifiedllvm/test/CodeGen/ARM/v8m.base-jumptable_alignment.ll
Commit c29003813ab9bd6ea7b6de40ea8f1fe21979f13f by thakis
Revert "[LLD][ELF][ARM] Do not substitute BL/BLX for non STT_FUNC
symbols."
There are still problems after the fix in
"[ELF][ARM] Fix regression of BL->BLX substitution after D73542" so
let's revert to get trunk back to green while we investigate. See
https://reviews.llvm.org/D73542
This reverts commit 5461fa2b1fcfcfcd8e28e3ac3383d2245d5d90bf. This
reverts commit 0b4a047bfbd11fe1f5abda8da0e2391c1918162a.
The file was modifiedlld/test/ELF/arm-undefined-weak.s
The file was modifiedlld/ELF/Arch/ARM.cpp
The file was modifiedlld/test/ELF/arm-thumb-interwork-notfunc.s
The file was modifiedlld/test/ELF/arm-thumb-interwork-shared.s
The file was modifiedlld/test/ELF/arm-thumb-undefined-weak.s
Commit 7edf27f7a75affd3a9198de834014c78f5604500 by zinenko
[mlir] Add NoSideEffect to Affine min max
Add NoSideEffect to Affine min and max operations.
Differential Revision: https://reviews.llvm.org/D74203
The file was modifiedmlir/include/mlir/Dialect/AffineOps/AffineOps.td
Commit 2db5547c016dbbd6acac3f3175937324f0095226 by sam.parker
[NFC][ARM] Update test
The file was modifiedllvm/test/CodeGen/Thumb2/ldr-str-imm12.ll
Commit ea9166b5a838d788a4ec0c9ddf0c83b09f49cfe4 by a.bataev
[OPENMP50]Add parsing/sema for acq_rel clause.
Added basic support (representation + parsing/sema/(de)serialization)
for acq_rel clause in flush/atomic directives.
The file was modifiedclang/include/clang/Sema/Sema.h
The file was modifiedclang/lib/Sema/SemaOpenMP.cpp
The file was modifiedclang/test/OpenMP/flush_ast_print.cpp
The file was modifiedclang/lib/AST/StmtProfile.cpp
The file was modifiedclang/lib/Serialization/ASTReader.cpp
The file was modifiedclang/lib/Serialization/ASTWriter.cpp
The file was modifiedclang/lib/Parse/ParseOpenMP.cpp
The file was modifiedclang/lib/CodeGen/CGStmtOpenMP.cpp
The file was modifiedclang/lib/Sema/TreeTransform.h
The file was modifiedclang/test/OpenMP/atomic_messages.cpp
The file was modifiedclang/test/OpenMP/flush_messages.cpp
The file was modifiedclang/lib/AST/OpenMPClause.cpp
The file was modifiedclang/lib/Basic/OpenMPKinds.cpp
The file was modifiedclang/include/clang/AST/OpenMPClause.h
The file was modifiedclang/include/clang/Basic/OpenMPKinds.def
The file was modifiedclang/tools/libclang/CIndex.cpp
The file was modifiedclang/test/OpenMP/atomic_ast_print.cpp
The file was modifiedclang/include/clang/AST/RecursiveASTVisitor.h
The file was modifiedclang/include/clang/Basic/DiagnosticSemaKinds.td
Commit 75f09b54429bee17a96e2ba7a2ac0f0a8a7f7e74 by alexandre.ganea
Re-land "[Clang][Driver] Remove -M group options ..." and "[Clang] Avoid
crashing when generating crash diagnostics when '#pragma clang __debug
..."
This re-lands commits f41ec709d9d388dc43469e6ac7f51b6313f7e4af
(https://reviews.llvm.org/D74076) and commit
5fedc2b410853a6aef05e8edf19ebfc4e071e28f
(https://reviews.llvm.org/D74070)
The previous build break was caused by '#pragma clang __debug
llvm_unreachable' used in a non-assert build. Move it to a separate test
in crash-report-with-asserts.c.
The file was modifiedclang/lib/Driver/Compilation.cpp
The file was modifiedclang/lib/Frontend/CompilerInvocation.cpp
The file was modifiedclang/lib/Lex/Pragma.cpp
The file was modifiedclang/test/Driver/crash-report.c
The file was modifiedclang/include/clang/Driver/CC1Options.td
The file was modifiedclang/include/clang/Lex/PreprocessorOptions.h
The file was modifiedclang/lib/Driver/ToolChains/Clang.cpp
The file was addedclang/test/Driver/crash-report-with-asserts.c
Commit 8de2dad9e0d729663f83d80f9a9e9b98ef41992e by Matthew.Arsenault
GlobalISel: Fix lowering of G_CTLZ/G_CTTZ
The type passed to lower was invalid, so I'm not sure how this was even
working before. The source and destination type also do not have to
match, so make sure to use the right ones.
The file was modifiedllvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-cttz.mir
The file was removedllvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-cttz.mir
The file was removedllvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-ctlz.mir
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPURegisterBankInfo.cpp
The file was modifiedllvm/test/CodeGen/ARM/GlobalISel/arm-legalize-bitcounts.mir
The file was modifiedllvm/unittests/CodeGen/GlobalISel/LegalizerHelperTest.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-ctlz.mir
Commit 3b198518ad540f789f45490e896565d4f0862c16 by Matthew.Arsenault
GlobalISel: Fix narrowing of G_CTPOP
The result type is separate from the source type. Tests will be included
in a future AMDGPU patch which uses this from
RegBankSelect/applyMappingImpl.
The file was modifiedllvm/lib/Target/Mips/MipsLegalizerInfo.cpp
The file was modifiedllvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp
Commit 5c6b1a6dfdb428a347a25527a4aebba72cd42a3a by simon.tatham
[TableGen] Fix spurious type error in bit assignment.
Summary: The following example gives the error message "expected value
of type
'bits<32>', got 'bit'" on the assignment.
    class Instruction { bits<32> encoding; }
   def foo: Instruction { let encoding{10} = !eq(0, 1); }
But there's nothing wrong with this code: 'bit' is a perfectly good type
for the RHS of an assignment to a //single bit// of an instruction
encoding.
The problem is that `ParseBodyItem` is accidentally type-checking the
RHS against the full type of the `encoding` field, without adjusting it
in the case where we're only assigning to a subset of the bits. The fix
is trivial.
Reviewers: nhaehnle, hfinkel
Reviewed By: hfinkel
Subscribers: hiraditya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D74220
The file was modifiedllvm/test/TableGen/BitsInit.td
The file was modifiedllvm/lib/TableGen/TGParser.cpp
Commit 2f885cbe904f6281b73e9986c5b918e1d15c5aba by Matthew.Arsenault
AMDGPU/GlobalISel: Fix move s.buffer.load to VALU
We were executing this in a waterfall loop as a placeholder, but this
should really be converted to a MUBUF load. Also execute in a waterfall
loop if the resource isn't an SGPR. This is a case where the DAG
handling was wrong because doing the right thing was too hard.
Currently, this will mishandle 96-bit loads. There's currently no way to
track the original memory size with an MMO, so these loads will be
widened andd the resulting memory size will be 128-bits.
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPURegisterBankInfo.h
The file was addedllvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-amdgcn.s.buffer.load.ll
The file was addedllvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-amdgcn.s.buffer.load.mir
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPURegisterBankInfo.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-amdgcn-s-buffer-load.mir
Commit 205292740d88101e5124780c7bbee60b33bf2919 by Milos.Stojanovic
[llvm-exegesis] Improve error reporting in BenchmarkRunner.cpp
Followup to D74085. Replace the use of `report_fatal_error()` with
returning the error to
`llvm-exegesis.cpp` and handling it there. To facilitate this, a new
`Error` type has been added which is only used to log errors to the yaml
output.
Differential Revision: https://reviews.llvm.org/D74215
The file was modifiedllvm/tools/llvm-exegesis/llvm-exegesis.cpp
The file was modifiedllvm/tools/llvm-exegesis/lib/BenchmarkRunner.cpp
The file was modifiedllvm/tools/llvm-exegesis/lib/BenchmarkRunner.h
The file was modifiedllvm/tools/llvm-exegesis/lib/Error.h
The file was modifiedllvm/tools/llvm-exegesis/lib/Error.cpp
Commit 01edae1271778fdc88be668c2e6a828a4c4d1481 by Jinsong Ji
[AsmPrinter] Print FP constant in hexadecimal form instead
Printing floating point number in decimal is inconvenient for humans.
Verbose asm output will print out floating point values in comments, it
helps.
But in lots of cases, users still need additional work to covert the
decimal back to hex or binary to check the bit patterns, especially when
there are small precision difference.
Hexadecimal form is one of the supported form in LLVM IR, and easier for
debugging.
This patch try to print all FP constant in hex form instead.
Reviewed By: RKSimon
Differential Revision: https://reviews.llvm.org/D73566
The file was modifiedllvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
The file was modifiedllvm/test/CodeGen/X86/broadcast-elm-cross-splat-vec.ll
The file was modifiedllvm/test/CodeGen/SystemZ/fp-const-11.ll
The file was modifiedllvm/lib/MC/MCExpr.cpp
The file was modifiedllvm/test/CodeGen/PowerPC/aix-xcoff-data.ll
The file was modifiedllvm/test/CodeGen/ARM/vecreduce-fadd-legalization-strict.ll
The file was modifiedllvm/test/CodeGen/Thumb2/constant-islands-new-island-padding.ll
The file was modifiedllvm/test/CodeGen/SystemZ/fp-const-09.ll
The file was modifiedllvm/test/CodeGen/X86/copysign-constant-magnitude.ll
The file was modifiedllvm/test/CodeGen/X86/pr13577.ll
The file was modifiedllvm/test/CodeGen/Thumb2/mve-vecreduce-fminmax.ll
The file was modifiedllvm/test/CodeGen/Thumb2/LowOverheadLoops/mve-float-loops.ll
The file was modifiedllvm/test/CodeGen/WebAssembly/global.ll
The file was modifiedllvm/test/CodeGen/PowerPC/mcm-4.ll
The file was modifiedllvm/test/CodeGen/SystemZ/fp-const-06.ll
The file was modifiedllvm/test/CodeGen/X86/fp-immediate-shorten.ll
The file was modifiedllvm/test/CodeGen/SystemZ/fp-const-03.ll
The file was modifiedllvm/test/CodeGen/Mips/cconv/memory-layout.ll
The file was modifiedllvm/test/CodeGen/PowerPC/pr16573.ll
The file was modifiedllvm/test/CodeGen/Thumb2/aligned-constants.ll
The file was modifiedllvm/test/CodeGen/X86/pr40730.ll
The file was modifiedllvm/test/CodeGen/X86/vec-copysign.ll
The file was modifiedllvm/test/CodeGen/SystemZ/fp-const-05.ll
The file was modifiedllvm/test/CodeGen/Thumb2/mve-pred-build-var.ll
The file was modifiedllvm/include/llvm/MC/MCExpr.h
The file was modifiedllvm/test/CodeGen/Thumb2/LowOverheadLoops/fast-fp-loops.ll
The file was modifiedllvm/test/CodeGen/Thumb2/mve-cttz.ll
The file was modifiedllvm/test/CodeGen/ARM/big-endian-neon-fp16-bitconv.ll
The file was modifiedllvm/test/CodeGen/X86/fp128-load.ll
The file was modifiedllvm/test/CodeGen/X86/win_cst_pool.ll
The file was modifiedllvm/test/CodeGen/AArch64/arm64-fp-imm-size.ll
The file was modifiedllvm/test/CodeGen/PowerPC/aix-lower-constant-pool-index.ll
The file was modifiedllvm/test/CodeGen/AArch64/win_cst_pool.ll
The file was modifiedllvm/test/CodeGen/SystemZ/fp-const-10.ll
The file was modifiedllvm/test/CodeGen/PowerPC/aix-xcoff-rodata.ll
The file was modifiedllvm/test/CodeGen/SystemZ/fp-const-04.ll
The file was modifiedllvm/test/CodeGen/AArch64/arm64-fp-imm.ll
The file was modifiedllvm/test/CodeGen/ARM/constantfp.ll
The file was modifiedllvm/test/CodeGen/ARM/vecreduce-fmul-legalization-strict.ll
The file was modifiedllvm/test/CodeGen/X86/x86-setcc-int-to-fp-combine.ll
The file was modifiedllvm/test/CodeGen/Thumb2/mve-vecreduce-fadd.ll
The file was modifiedllvm/test/CodeGen/SystemZ/fp-const-07.ll
The file was modifiedllvm/test/CodeGen/X86/float-asmprint.ll
The file was modifiedllvm/lib/MC/MCAsmStreamer.cpp
The file was modifiedllvm/test/CodeGen/PowerPC/mcm-12.ll
The file was modifiedllvm/test/CodeGen/Thumb2/mve-ctlz.ll
The file was modifiedllvm/test/CodeGen/PowerPC/float-asmprint.ll
The file was modifiedllvm/test/CodeGen/ARM/constant-islands.ll
The file was modifiedllvm/test/CodeGen/PowerPC/ppcf128-endian.ll
The file was modifiedllvm/test/CodeGen/Thumb2/mve-phireg.ll
The file was modifiedllvm/test/CodeGen/AArch64/f16-imm.ll
The file was modifiedllvm/include/llvm/MC/MCStreamer.h
The file was modifiedllvm/test/CodeGen/SystemZ/fp-const-08.ll
The file was modifiedllvm/test/CodeGen/Thumb2/mve-ctpop.ll
The file was modifiedllvm/test/CodeGen/X86/vec_uint_to_fp-fastmath.ll
The file was modifiedllvm/test/CodeGen/X86/vec_uint_to_fp.ll