[PATCH] D50482: Added another optimization pass to make vectorizing possible

Emmett Neyman via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Aug 8 17:28:14 PDT 2018


emmettneyman added inline comments.


================
Comment at: clang/tools/clang-fuzzer/handle-llvm/handle_llvm.cpp:126
+
+  auto &LTM = static_cast<LLVMTargetMachine &>(*TM);
+  Passes.add(LTM.createPassConfig(Passes));
----------------
morehouse wrote:
> Is TM guaranteed to be an LLVMTargetMachine?
Yes, since the target triple will always be X86.


Repository:
  rC Clang

https://reviews.llvm.org/D50482





More information about the cfe-commits mailing list