CPU instruction "sel_cmp" don't support 64bit int.
not emit SelectModifierInstructionPattern in that case.
tested by piglit. piglit test cases "long(ulong)-max(min,clamp)" all passed.
Signed-off-by: Homer Hsing <homer.xing@intel.com>
Reviewed-by: Zhigang Gong <zhigang.gong@linux.intel.com>
SelectionDAG *cmp = dag.child[0];
const SelectInstruction &insn = cast<SelectInstruction>(dag.insn);
+ if (insn.getType() == TYPE_S64 || insn.getType() == TYPE_U64) // not support
+ return false;
+
// Not in this block
if (cmp == NULL) return false;