SuccessChanges

Summary

  1. [test] do not parse ls output for file size; NFCI (details)
  2. [X86] Add X86ISD::PCMPGT to (details)
  3. TableGen: Fix assert on PatFrags with predicate code (details)
  4. AMDGPU/GlobalISel: Select mul24 intrinsics (details)
  5. [X86][AsmParser] re-introduce 'offset' operator (details)
  6. [OpenMP] Use the OpenMPIRBuilder for `omp cancel` (details)
  7. [OpenMP] Use the OpenMPIRBuilder for `omp parallel` (details)
  8. [PowerPC][docs] Update Embedded PowerPC docs in Compiler Writers Info (details)
Commit 0c5bee8fdd40bbbad9d3f5cce06785c72632fbd0 by bryan.chan
[test] do not parse ls output for file size; NFCI
Parsing `ls -l` output to obtain the size of a file is unreliable; the
exact output format is not specified, and some user or group names may
contain multiple words, causing `cut -f5 -d' '` to extract an incorrect
value. `wc -c`, on the other hand, is portable, and there are
precendents of its use in test cases.
The file was modifiedllvm/test/tools/llvm-profdata/show-prof-size.test
The file was modifiedllvm/test/tools/yaml2obj/ELF/custom-null-section.yaml
Commit 47a2fd2df4f4874c28823654be500c3aba93f768 by craig.topper
[X86] Add X86ISD::PCMPGT to
SimplifyMultipleUseDemandedBitsForTargetNode.
If only the sign bit is demanded, and the LHS is all zeroes, then we can
bypass the PCMPGT.
The file was modifiedllvm/test/CodeGen/X86/ssub_sat.ll
The file was modifiedllvm/test/CodeGen/X86/ssub_sat_vec.ll
The file was modifiedllvm/test/CodeGen/X86/sadd_sat_vec.ll
The file was modifiedllvm/test/CodeGen/X86/sadd_sat.ll
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
Commit 94d08feaeff3591a36ed548ba7c732ddedd6f983 by arsenm2
TableGen: Fix assert on PatFrags with predicate code
This assumed a single pattern if there was a predicate. Relax this a
bit, and allow multiple patterns as long as they have the same class.
This was only broken for the DAG path. GlobalISel seems to have handled
this correctly already.
The file was modifiedllvm/utils/TableGen/CodeGenDAGPatterns.cpp
The file was addedllvm/test/TableGen/predicate-patfags.td
Commit 7fa0bfe7d580e2b96b8d7f5bd0470287857e84cc by arsenm2
AMDGPU/GlobalISel: Select mul24 intrinsics
The file was modifiedllvm/lib/Target/AMDGPU/VOP2Instructions.td
The file was addedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-amdgcn.mul.u24.mir
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUInstrInfo.td
Commit 4a7aa252a32a94b1bb61b3dc7f027b4a27ae334f by epastor
[X86][AsmParser] re-introduce 'offset' operator
Summary: Amend MS offset operator implementation, to more closely fit
with its MS counterpart:
    1. InlineAsm: evaluate non-local source entities to their (address)
location
   2. Provide a mean with which one may acquire the address of an
assembly label via MS syntax, rather than yielding a memory reference
(i.e. "offset asm_label" and "$asm_label" should be synonymous
   3. address PR32530
Based on http://llvm.org/D37461
Fix broken test where the break appears unrelated.
- Set up appropriate memory-input rewrites for variable references.
- Intel-dialect assembly printing now correctly handles addresses by
adding "offset".
- Pass offsets as immediate operands (using "r" constraint for offsets
of locals).
Reviewed By: rnk
Differential Revision: https://reviews.llvm.org/D71436
The file was modifiedllvm/lib/MC/MCParser/AsmParser.cpp
The file was modifiedclang/test/CodeGen/ms-inline-asm-64.c
The file was modifiedllvm/include/llvm/MC/MCParser/MCTargetAsmParser.h
The file was modifiedllvm/lib/Target/X86/AsmParser/X86Operand.h
The file was modifiedclang/test/CodeGen/ms-inline-asm.c
The file was modifiedllvm/test/CodeGen/X86/ms-inline-asm.ll
The file was addedllvm/test/CodeGen/X86/offset-operator.ll
The file was modifiedclang/test/CodeGen/ms-inline-asm.cpp
The file was modifiedllvm/include/llvm/MC/MCParser/MCParsedAsmOperand.h
The file was modifiedclang/lib/Sema/SemaStmtAsm.cpp
The file was addedllvm/test/MC/X86/pr32530.s
The file was modifiedclang/test/Parser/ms-inline-asm.c
The file was modifiedllvm/lib/Target/X86/AsmParser/X86AsmParser.cpp
The file was modifiedllvm/lib/Target/X86/X86AsmPrinter.cpp
Commit 000c6a5038bc654946b4348e586d685077b06943 by johannes
[OpenMP] Use the OpenMPIRBuilder for `omp cancel`
An `omp cancel parallel` needs to be emitted by the OpenMPIRBuilder if
the `parallel` was emitted by the OpenMPIRBuilder. This patch makes this
possible. The cancel logic is shared with the cancel barriers. Testing
is done via unit tests and the clang cancel_codegen.cpp file once D70290
lands.
Reviewed By: JonChesterfield
Differential Revision: https://reviews.llvm.org/D71948
The file was modifiedllvm/include/llvm/Frontend/OpenMP/OMPKinds.def
The file was modifiedllvm/unittests/Frontend/OpenMPIRBuilderTest.cpp
The file was modifiedllvm/include/llvm/Frontend/OpenMP/OMPIRBuilder.h
The file was modifiedllvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp
Commit 10fedd94b4326225de4a8a1fc53594cebd501246 by johannes
[OpenMP] Use the OpenMPIRBuilder for `omp parallel`
This allows to use the OpenMPIRBuilder for parallel regions. Code was
extracted from D61953 and adapted to work with the new version (D70109).
All but one feature should be supported. An update of this patch will
provide test coverage and privatization other than shared.
Reviewed By: fghanim
Differential Revision: https://reviews.llvm.org/D70290
The file was modifiedllvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp
The file was modifiedclang/lib/CodeGen/CGStmtOpenMP.cpp
The file was modifiedllvm/include/llvm/Frontend/OpenMP/OMPKinds.def
The file was modifiedclang/test/OpenMP/parallel_codegen.cpp
The file was modifiedllvm/unittests/Frontend/OpenMPIRBuilderTest.cpp
The file was modifiedllvm/lib/Frontend/OpenMP/OMPConstants.cpp
The file was modifiedclang/test/OpenMP/cancel_codegen.cpp
Commit 0bd3cc42485225555a0eb60b91d8c7be22b6fd4a by Jinsong Ji
[PowerPC][docs] Update Embedded PowerPC docs in Compiler Writers Info
page
Summary: Embedded PowerPC are still actively supported, especially
SPE... So update some important references here:
* adding EREF
* adding SPE/VLE ref
Delete deprecated ones into "Other documents..".
Reviewers: #powerpc, jhibbits, hfinkel
Reviewed By: #powerpc, jhibbits
Subscribers: wuzish, merge_guards_bot, nemanjai, shchenz, steven.zhang,
llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D72008
The file was modifiedllvm/docs/CompilerWriterInfo.rst