[PATCH] D51312: [OpenMP][NVPTX] Use appropriate _CALL_ELF macro when offloading

2018-08-30 Thread Artem Belevich via Phabricator via cfe-commits
tra added a comment. Reverted in https://reviews.llvm.org/rL341115 & https://reviews.llvm.org/rL341118. Repository: rC Clang https://reviews.llvm.org/D51312 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/ma

[PATCH] D51312: [OpenMP][NVPTX] Use appropriate _CALL_ELF macro when offloading

2018-08-27 Thread Phabricator via Phabricator via cfe-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rC340772: [OpenMP][NVPTX] Use appropriate _CALL_ELF macro when offloading (authored by gbercea, committed by ). Changed prior to commit: https://reviews.llvm.org/D51312?vs=162708&id=162734#toc Repository

[PATCH] D51312: [OpenMP][NVPTX] Use appropriate _CALL_ELF macro when offloading

2018-08-27 Thread Gheorghe-Teodor Bercea via Phabricator via cfe-commits
gtbercea updated this revision to Diff 162708. gtbercea added a comment. Add test. Repository: rC Clang https://reviews.llvm.org/D51312 Files: lib/Frontend/InitPreprocessor.cpp test/Preprocessor/aux-triple.c Index: test/Preprocessor/aux-triple.c

[PATCH] D51312: [OpenMP][NVPTX] Use appropriate _CALL_ELF macro when offloading

2018-08-27 Thread Jonas Hahnfeld via Phabricator via cfe-commits
Hahnfeld accepted this revision. Hahnfeld added a comment. This revision is now accepted and ready to land. LGTM. Can you add a comment to `InitializePredefinedAuxMacros` explaining that the macro is used in `gnu/stubs.h` and add a check to the test? Repository: rC Clang https://reviews.llvm

[PATCH] D51312: [OpenMP][NVPTX] Use appropriate _CALL_ELF macro when offloading

2018-08-27 Thread Gheorghe-Teodor Bercea via Phabricator via cfe-commits
gtbercea created this revision. gtbercea added reviewers: Hahnfeld, ABataev, caomhin. Herald added subscribers: cfe-commits, guansong. When offloading to a device and using the powerpc64le version of the auxiliary triple, the _CALL_ELF macro is not set correctly to 2 resulting in the attempt to