Displaying 1 result from an estimated 1 matches for "predicate_immsext8".
Did you mean:
predicate_immsext16
2010 Aug 16
0
[LLVMdev] 1728 unused functions
...dicate_t2_so_imm2part(SDNode *inN) const {
^
Specifically this FIXME in DAGISelEmitter::run:
// FIXME: These are being used by hand written code, gross.
EmitPredicateFunctions(OS);
The targets are using the Predicate_* functions in a few places (X86ISelDAGToDAG.cpp):
if (Predicate_immSext8(Val.getNode()))
Opc = X86::LOCK_SUB16mi8;
else
We need to move the relevant Predicate_* functions into *ISelDAGToDAG.cpp, change the PatLeafs to call the new functions, and finally stop emitting the predicate functions in TableGen.
Any volunteers?
/jakob