emmettneyman added inline comments.
================ Comment at: clang/tools/clang-fuzzer/handle-llvm/handle_llvm.cpp:159 + std::unique_ptr<RTDyldMemoryManager>(RTDyldMM)); + builder.setOptLevel(OLvl); + builder.setTargetOptions(InitTargetOptionsFromCodeGenFlags()); ---------------- emmettneyman wrote: > morehouse wrote: > > If the JIT does optimization already, do we need to call `OptLLVM` at all? > > Will the vectorizer kick in without `OptLLVM`? > I'll look into this more. I couldn't find an answer quickly. No, the JIT doesn't run any optimization passes. The optimization level given just controls CodeGen. Source: http://lists.llvm.org/pipermail/llvm-dev/2016-May/099631.html Repository: rC Clang https://reviews.llvm.org/D49526 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits