FailedChanges

Summary

  1. Add support for lowering 32-bit/64-bit pointers (details)
  2. [OpenMP50] Add parallel master construct, by Chi Chun Chen. (details)
  3. [OPENMP]Update list of implemented features, NFC. (details)
  4. Fix crash-on-invalid-code in lambda constant evaluation. (details)
Commit 9e978bb01ceae8eaa415d8951cc96803e68b73fb by akhuang
Add support for lowering 32-bit/64-bit pointers
Summary: This follows a previous patch that changes the X86 datalayout
to represent mixed size pointers (32-bit sext, 32-bit zext, and 64-bit)
with address spaces
(https://reviews.llvm.org/D64931)
This patch implements the address space cast lowering to the
corresponding sign extension, zero extension, or truncate instructions.
Related to https://bugs.llvm.org/show_bug.cgi?id=42359
Reviewers: rnk, craig.topper, RKSimon
Subscribers: hiraditya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D69639
The file was modifiedllvm/lib/Target/X86/X86.h
The file was modifiedllvm/lib/CodeGen/SelectionDAG/FastISel.cpp
The file was addedllvm/test/CodeGen/X86/mixed-ptr-sizes.ll
The file was modifiedllvm/lib/Target/X86/X86ISelDAGToDAG.cpp
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
Commit 713dab21e27c987b9114547ce7136bac2e775de9 by a.bataev
[OpenMP50] Add parallel master construct, by Chi Chun Chen.
Reviewers: ABataev, jdoerfert
Reviewed By: ABataev
Subscribers: jholewinski, guansong, arphaman, jfb, cfe-commits,
sandoval, dreachem
Tags: #clang
Differential Revision: https://reviews.llvm.org/D70726
The file was modifiedclang/include/clang/AST/RecursiveASTVisitor.h
The file was modifiedclang/lib/CodeGen/CGOpenMPRuntime.cpp
The file was modifiedclang/include/clang-c/Index.h
The file was modifiedclang/lib/Serialization/ASTWriterStmt.cpp
The file was addedclang/test/OpenMP/parallel_master_default_messages.cpp
The file was addedclang/test/OpenMP/parallel_master_shared_messages.cpp
The file was addedclang/test/OpenMP/parallel_master_private_messages.cpp
The file was modifiedclang/lib/StaticAnalyzer/Core/ExprEngine.cpp
The file was addedclang/test/OpenMP/parallel_master_firstprivate_messages.cpp
The file was modifiedclang/include/clang/AST/StmtOpenMP.h
The file was modifiedclang/test/OpenMP/nesting_of_regions.cpp
The file was modifiedclang/include/clang/Basic/StmtNodes.td
The file was addedclang/test/OpenMP/parallel_master_copyin_messages.cpp
The file was modifiedclang/tools/libclang/CXCursor.cpp
The file was modifiedclang/lib/AST/StmtOpenMP.cpp
The file was modifiedclang/lib/Sema/TreeTransform.h
The file was modifiedclang/lib/CodeGen/CodeGenFunction.h
The file was modifiedclang/include/clang/Sema/Sema.h
The file was modifiedclang/lib/Parse/ParseOpenMP.cpp
The file was modifiedclang/lib/Sema/SemaOpenMP.cpp
The file was modifiedclang/tools/libclang/CIndex.cpp
The file was modifiedclang/lib/CodeGen/CGStmtOpenMP.cpp
The file was addedclang/test/OpenMP/parallel_master_proc_bind_messages.cpp
The file was modifiedclang/lib/AST/StmtProfile.cpp
The file was modifiedclang/lib/Basic/OpenMPKinds.cpp
The file was addedclang/test/OpenMP/parallel_master_num_threads_messages.cpp
The file was addedclang/test/OpenMP/parallel_master_reduction_messages.cpp
The file was addedclang/test/OpenMP/parallel_master_codegen.cpp
The file was addedclang/test/OpenMP/parallel_master_if_messages.cpp
The file was modifiedclang/include/clang/Basic/OpenMPKinds.def
The file was modifiedclang/lib/CodeGen/CGStmt.cpp
The file was modifiedclang/include/clang/Serialization/ASTBitCodes.h
The file was modifiedclang/lib/AST/StmtPrinter.cpp
The file was modifiedclang/lib/Serialization/ASTReaderStmt.cpp
The file was addedclang/test/OpenMP/parallel_master_ast_print.cpp
The file was modifiedclang/lib/CodeGen/CGOpenMPRuntimeNVPTX.cpp
The file was addedclang/test/OpenMP/parallel_master_message.cpp
Commit 975a43512709a9e989dea11d2fefab9212e3a4f4 by a.bataev
[OPENMP]Update list of implemented features, NFC.
The file was modifiedclang/docs/OpenMPSupport.rst
Commit 90fce46fa6c9ccec86f642be0a75da2d0a5b11c1 by jyknight
Fix crash-on-invalid-code in lambda constant evaluation.
If the lambda used 'this' without without capturing it, an error was
emitted, but the constant evaluator would still attempt to lookup the
capture, and failing to find it, dereference a null pointer.
This only happens in C++17 (as that's when lambdas were made
potentially-constexpr). Therefore, I also updated the
lambda-expressions.cpp test to run in both C++14 and C++17 modes.
The file was modifiedclang/lib/AST/ExprConstant.cpp
The file was modifiedclang/test/SemaCXX/lambda-expressions.cpp