Create a pass that scalarizes unsupported masked memory intrinsics.

Synopsis

Declared in <llvm/Transforms/Scalar.h>

FunctionPass*
createScalarizeMaskedMemIntrinLegacyPass();

Description

Replaces masked load, store, gather, and scatter intrinsics with scalar code when the target does not support them.

Return Value

The newly created FunctionPass.

Created with MrDocs