[PATCH] D21852: [Driver][OpenMP] Update actions builder to create bundling action when necessary.

2018-04-28 Thread Json Lee via Phabricator via cfe-commits
lijiansong added inline comments. Herald added a subscriber: guansong. Comment at: lib/Driver/Driver.cpp:2113-2124 +// the resulting list. Otherwise, just append the device actions. +if (CanUseBundler && !OffloadAL.empty()) { + // Add the host action to the list in o

[PATCH] D21852: [Driver][OpenMP] Update actions builder to create bundling action when necessary.

2018-04-28 Thread Json Lee via Phabricator via cfe-commits
lijiansong added a comment. hello, if I want to compile device-only device code, e.g. clang foo.mlu a.cpp -o bar, I want to get the following action graph: for foo.mlu: input -> preprocess->compile->backend->assemble , Then i will get foo.o, for a.cpp: input -> preprocess->compile->backend->assem