[PATCH] D50482: Added another optimization pass to make vectorizing possible
Matt Morehouse via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Aug 8 17:38:03 PDT 2018
morehouse accepted this revision.
morehouse added inline comments.
This revision is now accepted and ready to land.
================
Comment at: clang/tools/clang-fuzzer/handle-llvm/handle_llvm.cpp:103
+ Triple ModuleTriple(M->getTargetTriple());
+ const TargetOptions Options = InitTargetOptionsFromCodeGenFlags();
----------------
I think you can avoid creating a Triple and instead just call `M->getTargetTriple()` in `lookupTarget` below.
Repository:
rC Clang
https://reviews.llvm.org/D50482
More information about the cfe-commits
mailing list