Re-commit r289252 and r289285, and fix PR31374
authorYaxun Liu <Yaxun.Liu@amd.com>
Thu, 15 Dec 2016 08:09:08 +0000 (08:09 +0000)
committerYaxun Liu <Yaxun.Liu@amd.com>
Thu, 15 Dec 2016 08:09:08 +0000 (08:09 +0000)
commit402804b6d67c880c97e575342189025fe28c0f81
treef05c793f67afb7f12b82a43b0926afd04c0ae4ec
parent61ef150d53e4a9a3f14f614991f8132a5bb4eedc
Re-commit r289252 and r289285, and fix PR31374

llvm-svn: 289787
18 files changed:
clang/include/clang/AST/APValue.h
clang/include/clang/AST/ASTContext.h
clang/include/clang/Basic/TargetInfo.h
clang/lib/AST/APValue.cpp
clang/lib/AST/ASTContext.cpp
clang/lib/AST/ExprConstant.cpp
clang/lib/Basic/Targets.cpp
clang/lib/CodeGen/CGDecl.cpp
clang/lib/CodeGen/CGExprAgg.cpp
clang/lib/CodeGen/CGExprConstant.cpp
clang/lib/CodeGen/CGExprScalar.cpp
clang/lib/CodeGen/CodeGenModule.cpp
clang/lib/CodeGen/CodeGenModule.h
clang/lib/CodeGen/CodeGenTypes.cpp
clang/lib/CodeGen/CodeGenTypes.h
clang/lib/CodeGen/TargetInfo.cpp
clang/lib/CodeGen/TargetInfo.h
clang/test/CodeGenOpenCL/amdgpu-nullptr.cl [new file with mode: 0644]