Commit 3d553b4e authored by Marius Wachtler's avatar Marius Wachtler

Don't inline allowGLReadPreemption() in the llvm tier

Inlining it causes a perf regression
parent 456866d6
...@@ -212,6 +212,9 @@ public: ...@@ -212,6 +212,9 @@ public:
RELEASE_ASSERT(arg.getType() == call->getOperand(op_idx)->getType(), ""); RELEASE_ASSERT(arg.getType() == call->getOperand(op_idx)->getType(), "");
} }
if (f->getName() == "allowGLReadPreemption")
continue;
assert(!f->isDeclaration()); assert(!f->isDeclaration());
CS.setCalledFunction(f); CS.setCalledFunction(f);
calls.push_back(CS); calls.push_back(CS);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment