forked from OSchip/llvm-project
parent
4a1b03c773
commit
027ccc1200
|
@ -99,6 +99,11 @@ function and then be turned into an instruction if warranted.</p>
|
|||
<li><tt>llvm/lib/VMCore/Function.cpp (<tt>Function::getIntrinsicID()</tt>)</tt>:
|
||||
Identify the new intrinsic function, returning the enum for the intrinsic
|
||||
that you added.</li>
|
||||
|
||||
<li><tt>llvm/lib/Analysis/BasicAliasAnalysis.cpp</tt>: If the new intrinsic does
|
||||
not access memory, or does not write to memory, add it to the relevant list
|
||||
of functions.</li>
|
||||
|
||||
<li>Test your intrinsic</li>
|
||||
<li><tt>llvm/test/Regression/*</tt>: add your test cases to the test suite.</li>
|
||||
</ol>
|
||||
|
|
Loading…
Reference in New Issue