We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e07d2a4 commit 8653a04Copy full SHA for 8653a04
IGC/Compiler/CISACodeGen/helper.cpp
@@ -1415,6 +1415,10 @@ bool isUserFunctionCall(const llvm::Instruction *I) {
1415
if (callInst->getCalledFunction()->isIntrinsic() || callInst->getCalledFunction()->isDeclaration())
1416
return false;
1417
1418
+ // one of the known functions
1419
+ if (callInst->hasFnAttr(llvm::Attribute::Builtin))
1420
+ return false;
1421
+
1422
// is a call instruction, not an intrinsic and not a declaration - user function call
1423
return true;
1424
}
0 commit comments