File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed
llvm/lib/Transforms/Vectorize/SandboxVectorizer Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -28,24 +28,24 @@ PreservedAnalyses SandboxVectorizerPass::run(Function &F,
2828 return PA;
2929}
3030
31- bool SandboxVectorizerPass::runImpl (Function &F ) {
31+ bool SandboxVectorizerPass::runImpl (Function &LLVMF ) {
3232 // If the target claims to have no vector registers early return.
3333 if (!TTI->getNumberOfRegisters (TTI->getRegisterClassForType (true ))) {
3434 LLVM_DEBUG (dbgs () << " SBVec: Target has no vector registers, return.\n " );
3535 return false ;
3636 }
37- LLVM_DEBUG (dbgs () << " SBVec: Analyzing " << F .getName () << " .\n " );
37+ LLVM_DEBUG (dbgs () << " SBVec: Analyzing " << LLVMF .getName () << " .\n " );
3838 // Early return if the attribute NoImplicitFloat is used.
39- if (F .hasFnAttribute (Attribute::NoImplicitFloat)) {
39+ if (LLVMF .hasFnAttribute (Attribute::NoImplicitFloat)) {
4040 LLVM_DEBUG (dbgs () << " SBVec: NoImplicitFloat attribute, return.\n " );
4141 return false ;
4242 }
4343
44- sandboxir::Context Ctx (F .getContext ());
45- // Create SandboxIR for `F `.
46- sandboxir::Function &SBF = *Ctx.createFunction (&F );
44+ sandboxir::Context Ctx (LLVMF .getContext ());
45+ // Create SandboxIR for `LLVMF `.
46+ sandboxir::Function &F = *Ctx.createFunction (&LLVMF );
4747 // TODO: Initialize SBVec Pass Manager
48- (void )SBF ;
48+ (void )F ;
4949
5050 return false ;
5151}
You can’t perform that action at this time.
0 commit comments