[llvm-dev] Polybench llvm's IR -fopenmp

Ronan KERYELL via llvm-dev llvm-dev at lists.llvm.org
Mon Jan 14 09:39:21 PST 2019


>>>>> On Sun, 13 Jan 2019 19:07:07 -0600, Michael Kruse via llvm-dev <llvm-dev at lists.llvm.org> said:

    Michael> Detection and insertion of llvm.memcpy is done by the
    Michael> LoopIdiom ("-loop-idiom") pass. Currently, there is no way
    Michael> to disable this pass in the pipeline other than using -O0,
    Michael> using opt to rebuild the pass pipeline or editing the LLVM
    Michael> sources.

We had a similar problem in our SYCL compiler so we added a way to skip
the LoopIdiom pass...
https://github.com/triSYCL/triSYCL/blob/master/doc/architecture.rst#host-side-compilation-flow
https://github.com/triSYCL/clang/commit/16c2fc68cc
https://github.com/triSYCL/clang/commit/5508bf637a
-- 
  Ronan KERYELL


More information about the llvm-dev mailing list