8303804: Fix some errors of If-VectorTest and CMove-VectorTest
Reviewed-by: qamai, thartmann
This commit is contained in:
parent
0156909ab3
commit
c039d26603
@ -1192,7 +1192,8 @@ void ArchDesc::buildMustCloneMap(FILE *fp_hpp, FILE *fp_cpp) {
|
||||
|| strcmp(idealName,"OverflowMulI") == 0
|
||||
|| strcmp(idealName,"OverflowMulL") == 0
|
||||
|| strcmp(idealName,"Bool") == 0
|
||||
|| strcmp(idealName,"Binary") == 0 ) {
|
||||
|| strcmp(idealName,"Binary") == 0
|
||||
|| strcmp(idealName,"VectorTest") == 0 ) {
|
||||
// Removed ConI from the must_clone list. CPUs that cannot use
|
||||
// large constants as immediates manifest the constant as an
|
||||
// instruction. The must_clone flag prevents the constant from
|
||||
|
@ -3985,7 +3985,8 @@ void ArchDesc::buildMachNode(FILE *fp_cpp, InstructForm *inst, const char *inden
|
||||
|
||||
// Fill in the bottom_type where requested
|
||||
if (inst->captures_bottom_type(_globalNames)) {
|
||||
if (strncmp("MachCall", inst->mach_base_class(_globalNames), strlen("MachCall"))) {
|
||||
if (strncmp("MachCall", inst->mach_base_class(_globalNames), strlen("MachCall")) != 0
|
||||
&& strncmp("MachIf", inst->mach_base_class(_globalNames), strlen("MachIf")) != 0) {
|
||||
fprintf(fp_cpp, "%s node->_bottom_type = _leaf->bottom_type();\n", indent);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user