This is an archive of the discontinued LLVM Phabricator instance.

[HIP] Use .hipi as preprocessor output extension
ClosedPublic

Authored by yaxunl on Jan 10 2023, 2:34 PM.

Details

Summary

so that clang can recognize it and handle it automatically without -x hip-cpp-output

Diff Detail

Event Timeline

yaxunl created this revision.Jan 10 2023, 2:34 PM
Herald added a project: Restricted Project. · View Herald TranscriptJan 10 2023, 2:34 PM
yaxunl requested review of this revision.Jan 10 2023, 2:34 PM
tra accepted this revision.Jan 11 2023, 10:03 AM
tra added inline comments.
clang/tools/clang-offload-bundler/ClangOffloadBundler.cpp
103

Typo: output

This revision is now accepted and ready to land.Jan 11 2023, 10:03 AM
yaxunl marked an inline comment as done.Jan 11 2023, 10:26 AM
yaxunl added inline comments.
clang/tools/clang-offload-bundler/ClangOffloadBundler.cpp
103

will fix when committing

This revision was landed with ongoing or failed builds.Jan 11 2023, 3:40 PM
This revision was automatically updated to reflect the committed changes.
yaxunl marked an inline comment as done.
Herald added a project: Restricted Project. · View Herald TranscriptJan 11 2023, 3:40 PM
thakis added a subscriber: thakis.Jan 11 2023, 8:25 PM

I think this breaks tests on Windows: http://45.33.8.238/win/73191/step_7.txt

Please take a look and revert for now if it takes a while to fix.

[AMD Official Use Only - General]

Fixed by 503e02e861662ef84940fdc05e26c12fc0fca7f3. Thanks.

Sam