FailedChanges

Summary

  1. [CodeGen] AccelTable - remove non-constexpr (MSVC) Atom defs Now that we've dropped VS2015 support (D64326) we can enable the constexpr variables on MSVC builds as VS2017+ correctly handles them
  2. [mips] Implement sge/sgeu pseudo instructions The `sge/sgeu Dst, Src1, Src2/Imm` pseudo instructions set register `Dst` to 1 if register `Src1` is greater than or equal `Src2/Imm` and to 0 otherwise. Differential Revision: https://reviews.llvm.org/D64314
  3. [mips] Implement sgt/sgtu pseudo instructions with immediate operand The `sgt/sgtu Dst, Src1, Src2/Imm` pseudo instructions set register `Dst` to 1 if register `Src1` is greater than `Src2/Imm` and to 0 otherwise. Differential Revision: https://reviews.llvm.org/D64313
  4. [docs][llvm-objdump] Make some wording improvements/simplifications.
  5. [NFC] [X86] Fix scan-build complaining Summary: Remove unused variable. This fixes bug: https://bugs.llvm.org/show_bug.cgi?id=42526 Signed-off-by: pengfei <pengfei.wang@intel.com> Reviewers: RKSimon, xiangzhangllvm, craig.topper Subscribers: cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D64389
  6. OpaquePtr: pass type to CreateLoad. NFC. This is the one place in LLVM itself that used the deprecated API for CreateLoad, so I just added the type in.
  7. [ADT] Enable ArrayRef/StringRef is_assignable tests on MSVC Now that we've dropped VS2015 support (D64326) we can enable these static_asserts on MSVC builds as VS2017+ correctly handles them
  8. OpaquePtr: Update polly's calls to Loads.h API The Loads.h API changed so that a Type parameter is now mandatory in preparation for pointer types being opaque. Unfortunately I don't build polly routinely and it still had some uses. This just provides the (obvious) load type in each case.
  9. [NFC][AsmPrinter] Fix the formatting for the rL365467 In addition, fix the build failure for the 'unused' variable. The variable was used inside the 'LLVM_DEBUG()'.
  10. OpaquePtr: add Type parameter to Loads analysis API. This makes the functions in Loads.h require a type to be specified independently of the pointer Value so that when pointers have no structure other than address-space, it can still do its job. Most callers had an obvious memory operation handy to provide this type, but a SROA and ArgumentPromotion were doing more complicated analysis. They get updated to merge the properties of the various instructions they were considering.
  11. [DwarfDebug] Dump call site debug info Dump the DWARF information about call sites and call site parameters into debug info sections. The patch also provides an interface for the interpretation of instructions that could load values of a call site parameters in order to generate DWARF about the call site parameters. ([13/13] Introduce the debug entry values.) Co-authored-by: Ananth Sowda <asowda@cisco.com> Co-authored-by: Nikola Prica <nikola.prica@rt-rk.com> Co-authored-by: Ivan Baev <ibaev@cisco.com> Differential Revision: https://reviews.llvm.org/D60716
  12. Reland r365355: [Syntax] Introduce syntax trees With a fix to a PS4 buildbot crash.
  13. Revert rL365355 : [Syntax] Introduce syntax trees Summary: A tooling-focused alternative to the AST. This commit focuses on the memory-management strategy and the structure of the AST. More to follow later: - Operations to mutate the syntax trees and corresponding textual replacements. - Mapping between clang AST nodes and syntax tree nodes. - More node types corresponding to the language constructs. Reviewers: sammccall Reviewed By: sammccall Subscribers: llvm-commits, mgorny, cfe-commits Tags: #clang, #llvm Differential Revision: https://reviews.llvm.org/D61637 ........ Fixes buildbots which were crashing on SyntaxTests.exe
  14. [ASTImporter] Added visibility context check for EnumDecl. Summary: ASTImporter makes now difference between enums with same name in different translation units if these are not visible outside. ("Scoped enums" are not handled yet.) Reviewers: martong, a.sidorin, shafik, a_sidorin Reviewed By: a_sidorin Subscribers: rnkovacs, dkrupp, Szelethus, gamesh411, cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D62484
  15. Enhance abseil-faster-strsplit-delimiter to handle other non-printable characters. Summary: Currently it fails on cases like '\001'. Note: Since `StringLiteral::outputString` dumps most nonprintable characters in octal value, the exact string literal format isn't preserved, e.g. `"\x01"` becomes `'\001'`. Reviewers: gribozavr Reviewed By: gribozavr Subscribers: lebedev.ri, Eugene.Zelenko, cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D64151 Patch by Xiaoyi Zhang.
  16. [RISCV] Fix RISCVTTIImpl::getIntImmCost for immediates where getMinSignedBits() > 64 APInt::getSExtValue will assert if getMinSignedBits() > 64. This can happen, for instance, if examining an i128. Avoid this assertion by checking Imm.getMinSignedBits() <= 64 before doing getTLI()->isLegalAddImmediate(Imm.getSExtValue()). We could directly check getMinSignedBits() <= 12 but it seems better to reuse the isLegalAddImmediate helper for this. Differential Revision: https://reviews.llvm.org/D64390
  17. [docs][llvm-nm] Improve some wording In particular, the --debug-syms switch really doesn't have anything to do with debuggers, so I've updated the document accordingly.
Revision 365477 by rksimon:
[CodeGen] AccelTable - remove non-constexpr (MSVC) Atom defs

Now that we've dropped VS2015 support (D64326) we can enable the constexpr variables on MSVC builds as VS2017+ correctly handles them
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/include/llvm/CodeGen/AccelTable.h (diff)llvm.src/include/llvm/CodeGen/AccelTable.h
The file was modified/llvm/trunk/lib/CodeGen/AsmPrinter/AccelTable.cpp (diff)llvm.src/lib/CodeGen/AsmPrinter/AccelTable.cpp
Revision 365476 by atanasyan:
[mips] Implement sge/sgeu pseudo instructions

The `sge/sgeu Dst, Src1, Src2/Imm` pseudo instructions set register
`Dst` to 1 if register `Src1` is greater than or equal `Src2/Imm` and
to 0 otherwise.

Differential Revision: https://reviews.llvm.org/D64314
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/lib/Target/Mips/AsmParser/MipsAsmParser.cpp (diff)llvm.src/lib/Target/Mips/AsmParser/MipsAsmParser.cpp
The file was modified/llvm/trunk/lib/Target/Mips/Mips64InstrInfo.td (diff)llvm.src/lib/Target/Mips/Mips64InstrInfo.td
The file was modified/llvm/trunk/lib/Target/Mips/MipsInstrInfo.td (diff)llvm.src/lib/Target/Mips/MipsInstrInfo.td
The file was added/llvm/trunk/test/MC/Mips/macro-sge.sllvm.src/test/MC/Mips/macro-sge.s
The file was added/llvm/trunk/test/MC/Mips/macro-sge64.sllvm.src/test/MC/Mips/macro-sge64.s
Revision 365475 by atanasyan:
[mips] Implement sgt/sgtu pseudo instructions with immediate operand

The `sgt/sgtu Dst, Src1, Src2/Imm` pseudo instructions set register
`Dst` to 1 if register `Src1` is greater than `Src2/Imm` and to 0 otherwise.

Differential Revision: https://reviews.llvm.org/D64313
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/lib/Target/Mips/AsmParser/MipsAsmParser.cpp (diff)llvm.src/lib/Target/Mips/AsmParser/MipsAsmParser.cpp
The file was modified/llvm/trunk/lib/Target/Mips/Mips64InstrInfo.td (diff)llvm.src/lib/Target/Mips/Mips64InstrInfo.td
The file was modified/llvm/trunk/lib/Target/Mips/MipsInstrInfo.td (diff)llvm.src/lib/Target/Mips/MipsInstrInfo.td
The file was added/llvm/trunk/test/MC/Mips/macro-sgt.sllvm.src/test/MC/Mips/macro-sgt.s
The file was added/llvm/trunk/test/MC/Mips/macro-sgt64.sllvm.src/test/MC/Mips/macro-sgt64.s
Revision 365474 by jhenderson:
[docs][llvm-objdump] Make some wording improvements/simplifications.
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/docs/CommandGuide/llvm-objdump.rst (diff)llvm.src/docs/CommandGuide/llvm-objdump.rst
Revision 365473 by pengfei:
[NFC] [X86] Fix scan-build complaining

Summary:
Remove unused variable. This fixes bug:
https://bugs.llvm.org/show_bug.cgi?id=42526

Signed-off-by: pengfei <pengfei.wang@intel.com>

Reviewers: RKSimon, xiangzhangllvm, craig.topper

Subscribers: cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D64389
Change TypePath in RepositoryPath in Workspace
The file was modified/cfe/trunk/lib/CodeGen/CGBuiltin.cpp (diff)clang.src/lib/CodeGen/CGBuiltin.cpp
Revision 365472 by Tim Northover:
OpaquePtr: pass type to CreateLoad. NFC.

This is the one place in LLVM itself that used the deprecated API for
CreateLoad, so I just added the type in.
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/unittests/IR/IRBuilderTest.cpp (diff)llvm.src/unittests/IR/IRBuilderTest.cpp
Revision 365471 by rksimon:
[ADT] Enable ArrayRef/StringRef is_assignable tests on MSVC

Now that we've dropped VS2015 support (D64326) we can enable these static_asserts on MSVC builds as VS2017+ correctly handles them
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/unittests/ADT/ArrayRefTest.cpp (diff)llvm.src/unittests/ADT/ArrayRefTest.cpp
The file was modified/llvm/trunk/unittests/ADT/StringRefTest.cpp (diff)llvm.src/unittests/ADT/StringRefTest.cpp
Revision 365470 by Tim Northover:
OpaquePtr: Update polly's calls to Loads.h API

The Loads.h API changed so that a Type parameter is now mandatory in
preparation for pointer types being opaque. Unfortunately I don't build
polly routinely and it still had some uses. This just provides the
(obvious) load type in each case.
Change TypePath in RepositoryPath in Workspace
The file was modified/polly/trunk/lib/Analysis/ScopBuilder.cpp (diff)polly.src/lib/Analysis/ScopBuilder.cpp
The file was modified/polly/trunk/lib/Analysis/ScopDetection.cpp (diff)polly.src/lib/Analysis/ScopDetection.cpp
Revision 365469 by djtodoro:
[NFC][AsmPrinter] Fix the formatting for the rL365467

In addition, fix the build failure for the 'unused'
variable. The variable was used inside the 'LLVM_DEBUG()'.
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp (diff)llvm.src/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp
The file was modified/llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.cpp (diff)llvm.src/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
Revision 365468 by Tim Northover:
OpaquePtr: add Type parameter to Loads analysis API.

This makes the functions in Loads.h require a type to be specified
independently of the pointer Value so that when pointers have no structure
other than address-space, it can still do its job.

Most callers had an obvious memory operation handy to provide this type, but a
SROA and ArgumentPromotion were doing more complicated analysis. They get
updated to merge the properties of the various instructions they were
considering.
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/include/llvm/Analysis/Loads.h (diff)llvm.src/include/llvm/Analysis/Loads.h
The file was modified/llvm/trunk/lib/Analysis/Loads.cpp (diff)llvm.src/lib/Analysis/Loads.cpp
The file was modified/llvm/trunk/lib/Analysis/MemDerefPrinter.cpp (diff)llvm.src/lib/Analysis/MemDerefPrinter.cpp
The file was modified/llvm/trunk/lib/Analysis/ValueTracking.cpp (diff)llvm.src/lib/Analysis/ValueTracking.cpp
The file was modified/llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp (diff)llvm.src/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
The file was modified/llvm/trunk/lib/Transforms/IPO/ArgumentPromotion.cpp (diff)llvm.src/lib/Transforms/IPO/ArgumentPromotion.cpp
The file was modified/llvm/trunk/lib/Transforms/InstCombine/InstCombineCalls.cpp (diff)llvm.src/lib/Transforms/InstCombine/InstCombineCalls.cpp
The file was modified/llvm/trunk/lib/Transforms/InstCombine/InstCombineLoadStoreAlloca.cpp (diff)llvm.src/lib/Transforms/InstCombine/InstCombineLoadStoreAlloca.cpp
The file was modified/llvm/trunk/lib/Transforms/Scalar/LICM.cpp (diff)llvm.src/lib/Transforms/Scalar/LICM.cpp
The file was modified/llvm/trunk/lib/Transforms/Scalar/MergeICmps.cpp (diff)llvm.src/lib/Transforms/Scalar/MergeICmps.cpp
The file was modified/llvm/trunk/lib/Transforms/Scalar/SROA.cpp (diff)llvm.src/lib/Transforms/Scalar/SROA.cpp
The file was modified/llvm/trunk/lib/Transforms/Scalar/TailRecursionElimination.cpp (diff)llvm.src/lib/Transforms/Scalar/TailRecursionElimination.cpp
Revision 365467 by djtodoro:
[DwarfDebug] Dump call site debug info

Dump the DWARF information about call sites and call site parameters into
debug info sections.

The patch also provides an interface for the interpretation of instructions
that could load values of a call site parameters in order to generate DWARF
about the call site parameters.

([13/13] Introduce the debug entry values.)

Co-authored-by: Ananth Sowda <asowda@cisco.com>
Co-authored-by: Nikola Prica <nikola.prica@rt-rk.com>
Co-authored-by: Ivan Baev <ibaev@cisco.com>

Differential Revision: https://reviews.llvm.org/D60716
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/docs/LangRef.rst (diff)llvm.src/docs/LangRef.rst
The file was modified/llvm/trunk/include/llvm/CodeGen/TargetInstrInfo.h (diff)llvm.src/include/llvm/CodeGen/TargetInstrInfo.h
The file was modified/llvm/trunk/include/llvm/CodeGen/TargetRegisterInfo.h (diff)llvm.src/include/llvm/CodeGen/TargetRegisterInfo.h
The file was modified/llvm/trunk/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp (diff)llvm.src/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp
The file was modified/llvm/trunk/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h (diff)llvm.src/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h
The file was modified/llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.cpp (diff)llvm.src/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
The file was modified/llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.h (diff)llvm.src/lib/CodeGen/AsmPrinter/DwarfDebug.h
The file was modified/llvm/trunk/lib/CodeGen/AsmPrinter/DwarfExpression.cpp (diff)llvm.src/lib/CodeGen/AsmPrinter/DwarfExpression.cpp
The file was modified/llvm/trunk/lib/CodeGen/AsmPrinter/DwarfExpression.h (diff)llvm.src/lib/CodeGen/AsmPrinter/DwarfExpression.h
The file was modified/llvm/trunk/lib/CodeGen/AsmPrinter/DwarfUnit.cpp (diff)llvm.src/lib/CodeGen/AsmPrinter/DwarfUnit.cpp
The file was modified/llvm/trunk/lib/CodeGen/AsmPrinter/DwarfUnit.h (diff)llvm.src/lib/CodeGen/AsmPrinter/DwarfUnit.h
The file was modified/llvm/trunk/lib/CodeGen/TargetInstrInfo.cpp (diff)llvm.src/lib/CodeGen/TargetInstrInfo.cpp
The file was modified/llvm/trunk/lib/CodeGen/TargetRegisterInfo.cpp (diff)llvm.src/lib/CodeGen/TargetRegisterInfo.cpp
The file was modified/llvm/trunk/lib/DebugInfo/DWARF/DWARFDie.cpp (diff)llvm.src/lib/DebugInfo/DWARF/DWARFDie.cpp
The file was modified/llvm/trunk/lib/IR/DebugInfoMetadata.cpp (diff)llvm.src/lib/IR/DebugInfoMetadata.cpp
The file was modified/llvm/trunk/lib/Target/X86/X86InstrInfo.cpp (diff)llvm.src/lib/Target/X86/X86InstrInfo.cpp
The file was modified/llvm/trunk/lib/Target/X86/X86InstrInfo.h (diff)llvm.src/lib/Target/X86/X86InstrInfo.h
The file was added/llvm/trunk/test/DebugInfo/MIR/X86/dbgcall-site-interpretation.mirllvm.src/test/DebugInfo/MIR/X86/dbgcall-site-interpretation.mir
The file was added/llvm/trunk/test/DebugInfo/MIR/X86/dbgcall-site-lea-interpretation.mirllvm.src/test/DebugInfo/MIR/X86/dbgcall-site-lea-interpretation.mir
The file was added/llvm/trunk/test/DebugInfo/MIR/X86/debug-call-site-param.mirllvm.src/test/DebugInfo/MIR/X86/debug-call-site-param.mir
The file was modified/llvm/trunk/test/DebugInfo/X86/dwarf-callsite-related-attrs.ll (diff)llvm.src/test/DebugInfo/X86/dwarf-callsite-related-attrs.ll
The file was added/llvm/trunk/test/tools/llvm-dwarfdump/X86/stats-dbg-callsite-info.llllvm.src/test/tools/llvm-dwarfdump/X86/stats-dbg-callsite-info.ll
The file was modified/llvm/trunk/tools/llvm-dwarfdump/Statistics.cpp (diff)llvm.src/tools/llvm-dwarfdump/Statistics.cpp
Revision 365466 by ibiryukov:
Reland r365355: [Syntax] Introduce syntax trees

With a fix to a PS4 buildbot crash.
Change TypePath in RepositoryPath in Workspace
The file was added/cfe/trunk/include/clang/Tooling/Syntax/BuildTree.hclang.src/include/clang/Tooling/Syntax/BuildTree.h
The file was added/cfe/trunk/include/clang/Tooling/Syntax/Nodes.hclang.src/include/clang/Tooling/Syntax/Nodes.h
The file was added/cfe/trunk/include/clang/Tooling/Syntax/Tree.hclang.src/include/clang/Tooling/Syntax/Tree.h
The file was added/cfe/trunk/lib/Tooling/Syntax/BuildTree.cppclang.src/lib/Tooling/Syntax/BuildTree.cpp
The file was modified/cfe/trunk/lib/Tooling/Syntax/CMakeLists.txt (diff)clang.src/lib/Tooling/Syntax/CMakeLists.txt
The file was added/cfe/trunk/lib/Tooling/Syntax/Nodes.cppclang.src/lib/Tooling/Syntax/Nodes.cpp
The file was added/cfe/trunk/lib/Tooling/Syntax/Tree.cppclang.src/lib/Tooling/Syntax/Tree.cpp
The file was modified/cfe/trunk/unittests/Tooling/Syntax/CMakeLists.txt (diff)clang.src/unittests/Tooling/Syntax/CMakeLists.txt
The file was added/cfe/trunk/unittests/Tooling/Syntax/TreeTest.cppclang.src/unittests/Tooling/Syntax/TreeTest.cpp
Revision 365465 by rksimon:
Revert rL365355 : [Syntax] Introduce syntax trees

Summary:
A tooling-focused alternative to the AST. This commit focuses on the
memory-management strategy and the structure of the AST.

More to follow later:
  - Operations to mutate the syntax trees and corresponding textual
    replacements.
  - Mapping between clang AST nodes and syntax tree nodes.
  - More node types corresponding to the language constructs.

Reviewers: sammccall

Reviewed By: sammccall

Subscribers: llvm-commits, mgorny, cfe-commits

Tags: #clang, #llvm

Differential Revision: https://reviews.llvm.org/D61637
........
Fixes buildbots which were crashing on SyntaxTests.exe
Change TypePath in RepositoryPath in Workspace
The file was removed/cfe/trunk/include/clang/Tooling/Syntax/BuildTree.hclang.src/include/clang/Tooling/Syntax/BuildTree.h
The file was removed/cfe/trunk/include/clang/Tooling/Syntax/Nodes.hclang.src/include/clang/Tooling/Syntax/Nodes.h
The file was removed/cfe/trunk/include/clang/Tooling/Syntax/Tree.hclang.src/include/clang/Tooling/Syntax/Tree.h
The file was removed/cfe/trunk/lib/Tooling/Syntax/BuildTree.cppclang.src/lib/Tooling/Syntax/BuildTree.cpp
The file was modified/cfe/trunk/lib/Tooling/Syntax/CMakeLists.txt (diff)clang.src/lib/Tooling/Syntax/CMakeLists.txt
The file was removed/cfe/trunk/lib/Tooling/Syntax/Nodes.cppclang.src/lib/Tooling/Syntax/Nodes.cpp
The file was removed/cfe/trunk/lib/Tooling/Syntax/Tree.cppclang.src/lib/Tooling/Syntax/Tree.cpp
The file was modified/cfe/trunk/unittests/Tooling/Syntax/CMakeLists.txt (diff)clang.src/unittests/Tooling/Syntax/CMakeLists.txt
The file was removed/cfe/trunk/unittests/Tooling/Syntax/TreeTest.cppclang.src/unittests/Tooling/Syntax/TreeTest.cpp
Revision 365464 by balazske:
[ASTImporter] Added visibility context check for EnumDecl.

Summary:
ASTImporter makes now difference between enums with same name in different translation
units if these are not visible outside.
("Scoped enums" are not handled yet.)

Reviewers: martong, a.sidorin, shafik, a_sidorin

Reviewed By: a_sidorin

Subscribers: rnkovacs, dkrupp, Szelethus, gamesh411, cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D62484
Change TypePath in RepositoryPath in Workspace
The file was modified/cfe/trunk/lib/AST/ASTImporter.cpp (diff)clang.src/lib/AST/ASTImporter.cpp
The file was modified/cfe/trunk/unittests/AST/ASTImporterVisibilityTest.cpp (diff)clang.src/unittests/AST/ASTImporterVisibilityTest.cpp
Revision 365463 by gribozavr:
Enhance abseil-faster-strsplit-delimiter to handle other non-printable characters.

Summary:
Currently it fails on cases like '\001'.

Note: Since `StringLiteral::outputString` dumps most nonprintable
characters in octal value, the exact string literal format isn't preserved,
e.g. `"\x01"` becomes `'\001'`.

Reviewers: gribozavr

Reviewed By: gribozavr

Subscribers: lebedev.ri, Eugene.Zelenko, cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D64151

Patch by Xiaoyi Zhang.
Change TypePath in RepositoryPath in Workspace
The file was modified/clang-tools-extra/trunk/clang-tidy/abseil/FasterStrsplitDelimiterCheck.cpp (diff)clang-tools-extra.src/clang-tidy/abseil/FasterStrsplitDelimiterCheck.cpp
The file was modified/clang-tools-extra/trunk/test/clang-tidy/abseil-faster-strsplit-delimiter.cpp (diff)clang-tools-extra.src/test/clang-tidy/abseil-faster-strsplit-delimiter.cpp
Revision 365462 by asb:
[RISCV] Fix RISCVTTIImpl::getIntImmCost for immediates where getMinSignedBits() > 64

APInt::getSExtValue will assert if getMinSignedBits() > 64. This can happen,
for instance, if examining an i128. Avoid this assertion by checking
Imm.getMinSignedBits() <= 64 before doing
getTLI()->isLegalAddImmediate(Imm.getSExtValue()). We could directly check
getMinSignedBits() <= 12 but it seems better to reuse the isLegalAddImmediate
helper for this.

Differential Revision: https://reviews.llvm.org/D64390
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/lib/Target/RISCV/RISCVTargetTransformInfo.cpp (diff)llvm.src/lib/Target/RISCV/RISCVTargetTransformInfo.cpp
The file was modified/llvm/trunk/test/Transforms/ConstantHoisting/RISCV/immediates.ll (diff)llvm.src/test/Transforms/ConstantHoisting/RISCV/immediates.ll
Revision 365461 by jhenderson:
[docs][llvm-nm] Improve some wording

In particular, the --debug-syms switch really doesn't have anything to
do with debuggers, so I've updated the document accordingly.
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/docs/CommandGuide/llvm-nm.rst (diff)llvm.src/docs/CommandGuide/llvm-nm.rst