Skip to content

Commit 840f0d5

Browse files
harshaduntwaleigcbot
authored andcommitted
Correcting the frc intrinsic definition
1 parent c584612 commit 840f0d5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

IGC/LLVM3DBuilder/BuiltinsFrontendDefinitions.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3596,7 +3596,7 @@ llvm::Value* LLVM3DBuilder<preserveNames, T, Inserter>::CreateFrc(llvm::Value* V
35963596
llvm::Module* module = this->GetInsertBlock()->getParent()->getParent();
35973597

35983598
llvm::Function* frc =
3599-
llvm::GenISAIntrinsic::getDeclaration(module, llvm::GenISAIntrinsic::GenISA_frc, V->getType());
3599+
llvm::GenISAIntrinsic::getDeclaration(module, llvm::GenISAIntrinsic::GenISA_frc);
36003600
return this->CreateCall(frc, V);
36013601
}
36023602

0 commit comments

Comments
 (0)