Commit d3ef1ef5 authored by cianciosa's avatar cianciosa
Browse files

Limit clang action to only emit the LLVM.

parent 3a6ed4c4
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -168,7 +168,7 @@ namespace gpu {
                                                                    target_options);
            clang.setTarget(target_info);

            clang::EmitCodeGenOnlyAction action;
            clang::EmitLLVMOnlyAction action;
            clang.ExecuteAction(action);

            auto ir_module = action.takeModule();