Do not run scalarizer
It is unclear if this is anymore beneficial with the vectorizers in
the latest LLVM versions. The logic should be integrated to the
loop vectorizer which should selectively scalarize vector datatypes
and leave them intact in case it cannot produce better vectorization
across the loop iterations.
@@ -280,9 +280,6 @@ kernel_compiler_passes(cl_device_id device, llvm::Module *input,
passes.push_back("dot-cfg");
#endif
- if (currentWgMethod == "loopvec" && SPMDDevice)
- passes.push_back("scalarizer");
-
passes.push_back("STANDARD_OPTS");
// Due to unfortunate phase-ordering problems with store sinking,
