forked from OSchip/llvm-project
[ScalarizeMaskedMemIntrin] Add missing dependency
The pass has dependency on 'TargetTransformInfoWrapperPass', but the corresponding call to INITIALIZE_PASS_DEPENDENCY was missing. Differential Revision: https://reviews.llvm.org/D94916
This commit is contained in:
parent
21443381c0
commit
7113de301a
|
@ -72,8 +72,13 @@ static bool optimizeCallInst(CallInst *CI, bool &ModifiedDT,
|
|||
|
||||
char ScalarizeMaskedMemIntrinLegacyPass::ID = 0;
|
||||
|
||||
INITIALIZE_PASS(ScalarizeMaskedMemIntrinLegacyPass, DEBUG_TYPE,
|
||||
"Scalarize unsupported masked memory intrinsics", false, false)
|
||||
INITIALIZE_PASS_BEGIN(ScalarizeMaskedMemIntrinLegacyPass, DEBUG_TYPE,
|
||||
"Scalarize unsupported masked memory intrinsics", false,
|
||||
false)
|
||||
INITIALIZE_PASS_DEPENDENCY(TargetTransformInfoWrapperPass)
|
||||
INITIALIZE_PASS_END(ScalarizeMaskedMemIntrinLegacyPass, DEBUG_TYPE,
|
||||
"Scalarize unsupported masked memory intrinsics", false,
|
||||
false)
|
||||
|
||||
FunctionPass *llvm::createScalarizeMaskedMemIntrinLegacyPass() {
|
||||
return new ScalarizeMaskedMemIntrinLegacyPass();
|
||||
|
|
Loading…
Reference in New Issue