SuccessChanges

Summary

  1. [ORC] Remove some old debugging output from a unit test.
  2. Temporarily Revert "[PowerPC][NFC][MachinePipeliner] Add some regression testcases" It's breaking a number of bots, e.g.: http://lab.llvm.org:8011/builders/sanitizer-x86_64-linux-bootstrap-msan/builds/13893/steps/check-llvm%20msan/logs/stdio This reverts commit r367732.
  3. Add brackets to remove warnings about ambiguous 'else's.
  4. Re-commit "[GlobalISel] Add legalization support for non-power-2 loads and stores"" This is an old commit that exposed a bug in the GISel importer, which caused non-truncating stores to be selected for truncating store patterns. Now that's been fixed in r367737 this can go back in.
  5. [ScalarizeMaskedMemIntrin] Bitcast the mask to the scalar domain and use scalar bit tests for the branches for expandload/compressstore. Same as what was done for gather/scatter/load/store in r367489. Expandload/compressstore were delayed due to lack of constant masking handling that has since been fixed.
  6. [GlobalISel] Check LLT size matches memory size for non-truncating stores. This was causing a bug where non-truncating stores would be selected instead of truncating ones. Differential Revision: https://reviews.llvm.org/D64845
  7. [X86] Use the pointer VT for the Scale node when lowering x86 gather/scatter intrinsics. This is consistent with the target independent intrinsic handling. Not sure this really matters since we just pull the constant out using getZExtValue later.
  8. [BPF] Handling type conversions correctly for CO-RE With newly added debuginfo type metadata for preserve_array_access_index() intrinsic, this patch did the following two things: (1). checking validity before adding a new access index to the access chain. (2). calculating access byte offset in IR phase BPFAbstractMemberAccess instead of when BTF is emitted. For (1), the metadata provided by all preserve_*_access_index() intrinsics are used to check whether the to-be-added type is a proper struct/union member or array element. For (2), with all available metadata, calculating access byte offset becomes easier in BPFAbstractMemberAccess IR phase. This enables us to remove the unnecessary complexity in BTFDebug.cpp. New tests are added for . user explicit casting to array/structure/union . global variable (or its dereference) as the source of base . multi demensional arrays . array access given a base pointer . cases where we won't generate relocation if we cannot find type name. Differential Revision: https://reviews.llvm.org/D65618
  9. Remove support for unsupported MSVC versions Re-land r367727 with the #if fixed. Reviewers: rnk, lebedev.ri Subscribers: hiraditya, jkorous, dexonsmith, lebedev.ri, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D65662
  10. The MinGW linker supports response files This affects both LLD and ld.bfd. This isn't testable with a normal driver test with -### because those command lines are printed before response file setup. I tested manually and confirmed it seems to do the right thing.
Revision 367742 by Lang Hames:
[ORC] Remove some old debugging output from a unit test.
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/unittests/ExecutionEngine/Orc/CoreAPIsTest.cppllvm.src/unittests/ExecutionEngine/Orc/CoreAPIsTest.cpp
Revision 367741 by echristo:
Temporarily Revert "[PowerPC][NFC][MachinePipeliner] Add some regression testcases"

It's breaking a number of bots, e.g.:

http://lab.llvm.org:8011/builders/sanitizer-x86_64-linux-bootstrap-msan/builds/13893/steps/check-llvm%20msan/logs/stdio

This reverts commit r367732.
Change TypePath in RepositoryPath in Workspace
The file was removed/llvm/trunk/test/CodeGen/PowerPC/sms-cpy-1.llllvm.src/test/CodeGen/PowerPC/sms-cpy-1.ll
The file was removed/llvm/trunk/test/CodeGen/PowerPC/sms-phi-1.llllvm.src/test/CodeGen/PowerPC/sms-phi-1.ll
The file was removed/llvm/trunk/test/CodeGen/PowerPC/sms-phi-2.llllvm.src/test/CodeGen/PowerPC/sms-phi-2.ll
The file was removed/llvm/trunk/test/CodeGen/PowerPC/sms-phi-3.llllvm.src/test/CodeGen/PowerPC/sms-phi-3.ll
The file was removed/llvm/trunk/test/CodeGen/PowerPC/sms-phi-5.llllvm.src/test/CodeGen/PowerPC/sms-phi-5.ll
Revision 367740 by void:
Add brackets to remove warnings about ambiguous 'else's.
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/unittests/Support/AlignmentTest.cppllvm.src/unittests/Support/AlignmentTest.cpp
Revision 367739 by aemerson:
Re-commit "[GlobalISel] Add legalization support for non-power-2 loads and stores""

This is an old commit that exposed a bug in the GISel importer, which caused
non-truncating stores to be selected for truncating store patterns. Now that's
been fixed in r367737 this can go back in.
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/include/llvm/CodeGen/GlobalISel/LegalizerInfo.hllvm.src/include/llvm/CodeGen/GlobalISel/LegalizerInfo.h
The file was modified/llvm/trunk/lib/CodeGen/GlobalISel/LegalizerHelper.cppllvm.src/lib/CodeGen/GlobalISel/LegalizerHelper.cpp
The file was modified/llvm/trunk/lib/Target/AArch64/AArch64LegalizerInfo.cppllvm.src/lib/Target/AArch64/AArch64LegalizerInfo.cpp
The file was modified/llvm/trunk/test/CodeGen/AArch64/GlobalISel/arm64-fallback.llllvm.src/test/CodeGen/AArch64/GlobalISel/arm64-fallback.ll
The file was added/llvm/trunk/test/CodeGen/AArch64/GlobalISel/legalize-non-pow2-load-store.mirllvm.src/test/CodeGen/AArch64/GlobalISel/legalize-non-pow2-load-store.mir
Revision 367738 by ctopper:
[ScalarizeMaskedMemIntrin] Bitcast the mask to the scalar domain and use scalar bit tests for the branches for expandload/compressstore.

Same as what was done for gather/scatter/load/store in r367489.
Expandload/compressstore were delayed due to lack of constant
masking handling that has since been fixed.
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/lib/CodeGen/ScalarizeMaskedMemIntrin.cppllvm.src/lib/CodeGen/ScalarizeMaskedMemIntrin.cpp
The file was modified/llvm/trunk/test/CodeGen/X86/masked_compressstore.llllvm.src/test/CodeGen/X86/masked_compressstore.ll
The file was modified/llvm/trunk/test/CodeGen/X86/masked_expandload.llllvm.src/test/CodeGen/X86/masked_expandload.ll
The file was modified/llvm/trunk/test/CodeGen/X86/pr39666.llllvm.src/test/CodeGen/X86/pr39666.ll
The file was modified/llvm/trunk/test/Transforms/ScalarizeMaskedMemIntrin/X86/expand-masked-compressstore.llllvm.src/test/Transforms/ScalarizeMaskedMemIntrin/X86/expand-masked-compressstore.ll
The file was modified/llvm/trunk/test/Transforms/ScalarizeMaskedMemIntrin/X86/expand-masked-expandload.llllvm.src/test/Transforms/ScalarizeMaskedMemIntrin/X86/expand-masked-expandload.ll
Revision 367737 by aemerson:
[GlobalISel] Check LLT size matches memory size for non-truncating stores.

This was causing a bug where non-truncating stores would be selected instead of truncating ones.

Differential Revision: https://reviews.llvm.org/D64845
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/test/TableGen/address-space-patfrags.tdllvm.src/test/TableGen/address-space-patfrags.td
The file was modified/llvm/trunk/utils/TableGen/GlobalISelEmitter.cppllvm.src/utils/TableGen/GlobalISelEmitter.cpp
Revision 367736 by ctopper:
[X86] Use the pointer VT for the Scale node when lowering x86 gather/scatter intrinsics.

This is consistent with the target independent intrinsic handling.

Not sure this really matters since we just pull the constant out
using getZExtValue later.
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/lib/Target/X86/X86ISelLowering.cppllvm.src/lib/Target/X86/X86ISelLowering.cpp
Revision 367735 by yhs:
[BPF] Handling type conversions correctly for CO-RE

With newly added debuginfo type
metadata for preserve_array_access_index() intrinsic,
this patch did the following two things:
(1). checking validity before adding a new access index
      to the access chain.
(2). calculating access byte offset in IR phase
      BPFAbstractMemberAccess instead of when BTF is emitted.

For (1), the metadata provided by all preserve_*_access_index()
intrinsics are used to check whether the to-be-added type
is a proper struct/union member or array element.

For (2), with all available metadata, calculating access byte
offset becomes easier in BPFAbstractMemberAccess IR phase.
This enables us to remove the unnecessary complexity in
BTFDebug.cpp.

New tests are added for
  . user explicit casting to array/structure/union
  . global variable (or its dereference) as the source of base
  . multi demensional arrays
  . array access given a base pointer
  . cases where we won't generate relocation if we cannot find
    type name.

Differential Revision: https://reviews.llvm.org/D65618
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/lib/Target/BPF/BPFAbstractMemberAccess.cppllvm.src/lib/Target/BPF/BPFAbstractMemberAccess.cpp
The file was modified/llvm/trunk/lib/Target/BPF/BTFDebug.cppllvm.src/lib/Target/BPF/BTFDebug.cpp
The file was modified/llvm/trunk/lib/Target/BPF/BTFDebug.hllvm.src/lib/Target/BPF/BTFDebug.h
The file was added/llvm/trunk/test/CodeGen/BPF/CORE/offset-reloc-cast-array-1.llllvm.src/test/CodeGen/BPF/CORE/offset-reloc-cast-array-1.ll
The file was added/llvm/trunk/test/CodeGen/BPF/CORE/offset-reloc-cast-array-2.llllvm.src/test/CodeGen/BPF/CORE/offset-reloc-cast-array-2.ll
The file was added/llvm/trunk/test/CodeGen/BPF/CORE/offset-reloc-cast-struct-1.llllvm.src/test/CodeGen/BPF/CORE/offset-reloc-cast-struct-1.ll
The file was added/llvm/trunk/test/CodeGen/BPF/CORE/offset-reloc-cast-struct-2.llllvm.src/test/CodeGen/BPF/CORE/offset-reloc-cast-struct-2.ll
The file was added/llvm/trunk/test/CodeGen/BPF/CORE/offset-reloc-cast-struct-3.llllvm.src/test/CodeGen/BPF/CORE/offset-reloc-cast-struct-3.ll
The file was added/llvm/trunk/test/CodeGen/BPF/CORE/offset-reloc-cast-union-1.llllvm.src/test/CodeGen/BPF/CORE/offset-reloc-cast-union-1.ll
The file was added/llvm/trunk/test/CodeGen/BPF/CORE/offset-reloc-cast-union-2.llllvm.src/test/CodeGen/BPF/CORE/offset-reloc-cast-union-2.ll
The file was added/llvm/trunk/test/CodeGen/BPF/CORE/offset-reloc-global-1.llllvm.src/test/CodeGen/BPF/CORE/offset-reloc-global-1.ll
The file was added/llvm/trunk/test/CodeGen/BPF/CORE/offset-reloc-global-2.llllvm.src/test/CodeGen/BPF/CORE/offset-reloc-global-2.ll
The file was added/llvm/trunk/test/CodeGen/BPF/CORE/offset-reloc-global-3.llllvm.src/test/CodeGen/BPF/CORE/offset-reloc-global-3.ll
The file was added/llvm/trunk/test/CodeGen/BPF/CORE/offset-reloc-ignore.llllvm.src/test/CodeGen/BPF/CORE/offset-reloc-ignore.ll
The file was added/llvm/trunk/test/CodeGen/BPF/CORE/offset-reloc-multi-array-1.llllvm.src/test/CodeGen/BPF/CORE/offset-reloc-multi-array-1.ll
The file was added/llvm/trunk/test/CodeGen/BPF/CORE/offset-reloc-multi-array-2.llllvm.src/test/CodeGen/BPF/CORE/offset-reloc-multi-array-2.ll
The file was added/llvm/trunk/test/CodeGen/BPF/CORE/offset-reloc-pointer-1.llllvm.src/test/CodeGen/BPF/CORE/offset-reloc-pointer-1.ll
The file was added/llvm/trunk/test/CodeGen/BPF/CORE/offset-reloc-pointer-2.llllvm.src/test/CodeGen/BPF/CORE/offset-reloc-pointer-2.ll
The file was modified/llvm/trunk/test/CodeGen/BPF/CORE/offset-reloc-struct-anonymous.llllvm.src/test/CodeGen/BPF/CORE/offset-reloc-struct-anonymous.ll
The file was modified/llvm/trunk/test/CodeGen/BPF/CORE/offset-reloc-struct-array.llllvm.src/test/CodeGen/BPF/CORE/offset-reloc-struct-array.ll
The file was modified/llvm/trunk/test/CodeGen/BPF/CORE/offset-reloc-typedef-array.llllvm.src/test/CodeGen/BPF/CORE/offset-reloc-typedef-array.ll
The file was modified/llvm/trunk/test/CodeGen/BPF/CORE/offset-reloc-typedef.llllvm.src/test/CodeGen/BPF/CORE/offset-reloc-typedef.ll
Revision 367734 by jfb:
Remove support for unsupported MSVC versions

Re-land r367727 with the #if fixed.

Reviewers: rnk, lebedev.ri

Subscribers: hiraditya, jkorous, dexonsmith, lebedev.ri, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D65662
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/include/llvm/Demangle/DemangleConfig.hllvm.src/include/llvm/Demangle/DemangleConfig.h
The file was modified/llvm/trunk/lib/DebugInfo/PDB/DIA/DIASession.cppllvm.src/lib/DebugInfo/PDB/DIA/DIASession.cpp
The file was modified/llvm/trunk/lib/Support/Windows/explicit_symbols.incllvm.src/lib/Support/Windows/explicit_symbols.inc
Revision 367733 by rnk:
The MinGW linker supports response files

This affects both LLD and ld.bfd.

This isn't testable with a normal driver test with -### because those
command lines are printed before response file setup. I tested manually
and confirmed it seems to do the right thing.
Change TypePath in RepositoryPath in Workspace
The file was modified/cfe/trunk/lib/Driver/ToolChains/MinGW.hclang.src/lib/Driver/ToolChains/MinGW.h