SuccessChanges

Summary

  1. [IndVars] Speculative fix for an assertion failure seen in bots I don't have an IR sample which is actually failing, but the issue described in the comment is theoretically possible, and should be guarded against even if there's a different root cause for the bot failures.
  2. AMDGPU: Replace store PatFrags Convert the easy cases to formats understood for GlobalISel.
  3. AMDGPU/GlobalISel: Select flat loads Now that the patterns use the new PatFrag address space support, the only blocker to importing most load patterns is the addressing mode complex patterns.
  4. Teach `llvm-pdbutil pretty -native` about `-injected-sources` `pretty -native -injected-sources -injected-source-content` works with this patch, and produces identical output to the dia version. Differential Revision: https://reviews.llvm.org/D64428
Revision 366241 by reames:
[IndVars] Speculative fix for an assertion failure seen in bots

I don't have an IR sample which is actually failing, but the issue described in the comment is theoretically possible, and should be guarded against even if there's a different root cause for the bot failures.
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/lib/Transforms/Scalar/IndVarSimplify.cpp (diff)llvm.src/lib/Transforms/Scalar/IndVarSimplify.cpp
Revision 366240 by arsenm:
AMDGPU: Replace store PatFrags

Convert the easy cases to formats understood for GlobalISel.
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/lib/Target/AMDGPU/AMDGPUInstructions.td (diff)llvm.src/lib/Target/AMDGPU/AMDGPUInstructions.td
The file was modified/llvm/trunk/lib/Target/AMDGPU/FLATInstructions.td (diff)llvm.src/lib/Target/AMDGPU/FLATInstructions.td
Revision 366237 by arsenm:
AMDGPU/GlobalISel: Select flat loads

Now that the patterns use the new PatFrag address space support, the
only blocker to importing most load patterns is the addressing mode
complex patterns.
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/lib/Target/AMDGPU/AMDGPUGISel.td (diff)llvm.src/lib/Target/AMDGPU/AMDGPUGISel.td
The file was modified/llvm/trunk/lib/Target/AMDGPU/AMDGPUISelLowering.cpp (diff)llvm.src/lib/Target/AMDGPU/AMDGPUISelLowering.cpp
The file was modified/llvm/trunk/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp (diff)llvm.src/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp
The file was modified/llvm/trunk/lib/Target/AMDGPU/AMDGPUInstructionSelector.h (diff)llvm.src/lib/Target/AMDGPU/AMDGPUInstructionSelector.h
The file was modified/llvm/trunk/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp (diff)llvm.src/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
The file was modified/llvm/trunk/lib/Target/AMDGPU/SIInstrInfo.cpp (diff)llvm.src/lib/Target/AMDGPU/SIInstrInfo.cpp
The file was modified/llvm/trunk/lib/Target/AMDGPU/SIInstrInfo.h (diff)llvm.src/lib/Target/AMDGPU/SIInstrInfo.h
The file was modified/llvm/trunk/test/CodeGen/AMDGPU/GlobalISel/inst-select-load-flat.mir (diff)llvm.src/test/CodeGen/AMDGPU/GlobalISel/inst-select-load-flat.mir
The file was added/llvm/trunk/test/CodeGen/AMDGPU/GlobalISel/inst-select-load-global.mirllvm.src/test/CodeGen/AMDGPU/GlobalISel/inst-select-load-global.mir
Revision 366236 by nico:
Teach `llvm-pdbutil pretty -native` about `-injected-sources`

`pretty -native -injected-sources -injected-source-content` works with
this patch, and produces identical output to the dia version.

Differential Revision: https://reviews.llvm.org/D64428
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/include/llvm/DebugInfo/PDB/Native/HashTable.h (diff)llvm.src/include/llvm/DebugInfo/PDB/Native/HashTable.h
The file was added/llvm/trunk/include/llvm/DebugInfo/PDB/Native/InjectedSourceStream.hllvm.src/include/llvm/DebugInfo/PDB/Native/InjectedSourceStream.h
The file was added/llvm/trunk/include/llvm/DebugInfo/PDB/Native/NativeEnumInjectedSources.hllvm.src/include/llvm/DebugInfo/PDB/Native/NativeEnumInjectedSources.h
The file was modified/llvm/trunk/include/llvm/DebugInfo/PDB/Native/PDBFile.h (diff)llvm.src/include/llvm/DebugInfo/PDB/Native/PDBFile.h
The file was modified/llvm/trunk/lib/DebugInfo/PDB/CMakeLists.txt (diff)llvm.src/lib/DebugInfo/PDB/CMakeLists.txt
The file was added/llvm/trunk/lib/DebugInfo/PDB/Native/InjectedSourceStream.cppllvm.src/lib/DebugInfo/PDB/Native/InjectedSourceStream.cpp
The file was added/llvm/trunk/lib/DebugInfo/PDB/Native/NativeEnumInjectedSources.cppllvm.src/lib/DebugInfo/PDB/Native/NativeEnumInjectedSources.cpp
The file was modified/llvm/trunk/lib/DebugInfo/PDB/Native/NativeSession.cpp (diff)llvm.src/lib/DebugInfo/PDB/Native/NativeSession.cpp
The file was modified/llvm/trunk/lib/DebugInfo/PDB/Native/PDBFile.cpp (diff)llvm.src/lib/DebugInfo/PDB/Native/PDBFile.cpp
The file was added/llvm/trunk/test/tools/llvm-pdbutil/injected-sources-native.testllvm.src/test/tools/llvm-pdbutil/injected-sources-native.test
The file was modified/llvm/trunk/tools/llvm-pdbutil/llvm-pdbutil.cpp (diff)llvm.src/tools/llvm-pdbutil/llvm-pdbutil.cpp
The file was modified/llvm/trunk/utils/gn/secondary/llvm/lib/DebugInfo/PDB/BUILD.gn (diff)llvm.src/utils/gn/secondary/llvm/lib/DebugInfo/PDB/BUILD.gn